Simon Loewen writes:

DNS on the server works well as verified with dig and getent, yet
testmxlookup fails with Soft Error.  My original question remains
unanswered:  How does courier consult DNS?

By sending a query to the DNS server(s) specified in /etc/resolv.conf, and waiting for a reply.

# dig mx dnstext.com
; <<>> DiG 9.4.2-P2 <<>> mx dnstext.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 36511
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;dnstext.com.                   IN      MX

I get different results:

[mr...@commodore tmp]$ dig mx dnstest.com

; <<>> DiG 9.5.1-P2-RedHat-9.5.1-2.P2.fc10 <<>> mx dnstest.com
;; global options:  printcmd
;; Got answer:
;; →>HEADER<← opcode: QUERY, status: NOERROR, id: 38177
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;dnstest.com.                   IN      MX

;; ANSWER SECTION:
dnstest.com.            86381   IN      MX      10 mail.dnstest.com.

;; AUTHORITY SECTION:
dnstest.com.            86369   IN      NS      ns1.ifox.com.
dnstest.com.            86369   IN      NS      ns2.ifox.com.


[mr...@commodore tmp]$ dig mail.dnstest.com a

; <<>> DiG 9.5.1-P2-RedHat-9.5.1-2.P2.fc10 <<>> mail.dnstest.com a
;; global options:  printcmd
;; Got answer:
;; →>HEADER<← opcode: QUERY, status: NOERROR, id: 13504
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.dnstest.com.              IN      A

;; ANSWER SECTION:
mail.dnstest.com.       86400   IN      CNAME   sam.ifox.com.
sam.ifox.com.           86400   IN      A       208.67.8.8

;; AUTHORITY SECTION:
ifox.com.               86400   IN      NS      ns2.ifox.com.
ifox.com.               86400   IN      NS      ns1.ifox.com.

For me, testmxlookup works just fine:

[mr...@commodore tmp]$ testmxlookup dnstest.com
Domain dnstest.com:
Relay: sam.ifox.com, Priority: 10, Address: ::ffff:208.67.8.8

Attachment: pgpLb6WFkAODZ.pgp
Description: PGP signature

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to