OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: No MX record. Postfix not trying A record

From: Chip Mefford (cmefforderuditium.org)
Date: Thu Feb 02 2006 - 07:12:12 CST


Ralf Hildebrandt wrote:
> * Chip Mefford <cmefforderuditium.org>:
>
>>Have a few folks out there whose domains either do not publish
>>MX records, or they have set their dns acls up in a strange way
>>so that we cannot find their MX records.
>>
>>At any rate, postfix can't find a MX record, so it is deferring delivery.>
>
> Show an example for this.

Okay.

From the logs:
(one entry of many going back 4 days)

Feb 2 07:36:53 smail postfix/smtp[4067]: 0A49211AE61:
to=<-name-removed-nfcu.org>, relay=none, delay=161284, status=deferred
(Name service error for
name=nfcu.org type=MX: Host not found, try again)

---
$ dig NS.NAVYFEDCU.ORG nfcu.org IN MX

; <<>> DiG 9.2.5 <<>> NS.NAVYFEDCU.ORG nfcu.org IN MX
; (1 server found)
;; global options: printcmd
;; connection timed out; no servers could be reached
---
$ dig NS.NAVYFEDCU.ORG nfcu.org IN A

; <<>> DiG 9.2.5 <<>> NS.NAVYFEDCU.ORG nfcu.org IN A
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27114
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;nfcu.org. IN A

;; ANSWER SECTION:
nfcu.org. 30 IN A 12.154.64.176

;; Query time: 35 msec
;; SERVER: 63.240.206.5#53(63.240.206.5)
;; WHEN: Thu Feb 2 08:08:36 2006
;; MSG SIZE rcvd: 42

>>Shouldn't postfix attempt delivery to the A record if there is
>>no MX record?
>
>
> It does.

Okay, I'm 'guessing' that since the dns server refuses to answer
the MX request, that postfix is (fairly) figuring it will just
defer the delivery until such a time as the dns server answers?
and if gives and answer of 0, it would then attempt the A record?

Thanks in advance.

--chipper