[Pdns-users] MX query not returning MX record
Dan Durrer
dan at vitalwerks.com
Fri Apr 4 20:01:41 UTC 2003
I understand why this doesn't work. But have you guys thought about
making some type of scripts for adding/updating records and such. This
way there can be some sanity checks that would follow the rfc's etc
insuring that bad data doesn't get into the db. We will probably be
developing these for our system, unless there are already tools out
there.
Dan
-----Original Message-----
From: pdns-users-bounces at mailman.powerdns.com
[mailto:pdns-users-bounces at mailman.powerdns.com] On Behalf Of bert
hubert
Sent: Thursday, April 03, 2003 10:23 PM
To: Marius Zydyk
Cc: pdns-users at mailman.powerdns.com
Subject: Re: [Pdns-users] MX query not returning MX record
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
_______________________________________________
Pdns-users mailing list
Pdns-users at mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users
More information about the Pdns-users
mailing list