[Pdns-users] MX query not returning MX record

bert hubert ahu at ds9a.nl
Fri Apr 4 06:22:47 UTC 2003


On Thu, Apr 03, 2003 at 10:33:05PM -0700, Marius Zydyk wrote:
> MX queries to my server (2.9.7 currently, was 2.9.6 RedHat static) are 
> apparently returning CNAMEs instead.

> > ls -d domainofdarkness.com
>                         1H IN NS        ns1
>                         1H IN CNAME     pod

Indeed - you have a CNAME-and-other-data situation. Don't do it. Remove the
domainofdarkness.com CNAME to pod and things will work. 

Regards,

bert

> 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...? Any suggestions on how I can fix my set 
> up for MX records to work?
> 
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO


More information about the Pdns-users mailing list