[Pdns-users] MX query not returning MX record

Marius Zydyk powerdns.com at domainofdarkness.com
Mon Mar 31 21:09:09 UTC 2003


MX queries to my server (2.9.7 currently, was 2.9.6 RedHat static) are 
apparently returning CNAMEs instead.

Here's an (edited) snippet from nslookup:

 > ls -d domainofdarkness.com
                         1H IN NS        ns1
                         1H IN CNAME     pod
pod                     1H IN A         142.179.174.133
angel                   1H IN A         142.179.174.134
ns1                     1H IN A         142.179.174.134
pop3                    1H IN CNAME     angel
@                       1H IN MX        10 smtp
smtp                    1H IN A         142.179.174.134

and host output:

[root at angel root]# host -vT -t MX domainofdarkness.com ns1.domainofdarkness.com
Trying "domainofdarkness.com"
Using domain server:
Name: ns1.domainofdarkness.com
Address: 142.179.174.134#53
Aliases:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5621
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

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

;; ANSWER SECTION:
domainofdarkness.com.   3600    IN      CNAME   pod.domainofdarkness.com.

;; AUTHORITY SECTION:
domainofdarkness.com.   3600    IN      SOA     ns1.domainofdarkness.com. 
pod.nu
ll.net. 2003022803 10800 3600 604800 3600

Received 128 bytes from 142.179.174.134#53 in 3 ms

Notice the CNAME in the ANSWER section, not MX. Other query types work fine.

I noticed in the nslookup session above the record is '@ IN MX....', when 
other domains I've looked at don't have the '@'. My limited understanding 
of DNS says both are equivalent...? How can I fix my set up for MX records 
to work?

TIA, I'll monitor the list archive, or please CC replies to pod at null.net



More information about the Pdns-users mailing list