[Pdns-dev] SOA Question

Leen Besselink leen at consolejunkie.net
Fri Jun 17 01:12:04 CEST 2011


On 06/17/2011 12:07 AM, Bob Weaver wrote:
>
> I'm in the process of creating a backend which pulls data from an
> existing database. The database is currently used by an existing dns
> server which is being obsoleted.
>
> In the following there is a difference between the way the two servers
> respond to a request for SOA of foo.bar.com <http://foo.bar.com> where
> bar.com <http://bar.com> exists and foo.bar.com <http://foo.bar.com>
> does not. Specifically, the "old" server gives bar.com
> <http://bar.com> as the answer name while pdns gives foo.bar.com
> <http://foo.bar.com>. 
>

Do you mean there is no SOA-record for foo.bar.com or there really is
nothing for foo.bar.com ?

Because if there is no foo.bar.com at all, then I think maybe both are
wrong. :-)

Atleast I would expect a NXDOMAIN, not NoError.

But I'm not an expect.

>     Query: foo.bar.com <http://foo.bar.com>. SOA
>
>
>     The Old Server:
>     ;; ->>HEADER<<- opcode: Query, rcode: NoError, id: 10043
>     ;; flags: AA QR , QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 5
>     ;; ANSWERS:
>     bar.com <http://bar.com>.SOAns1.example.com
>     <http://ns1.example.com>. whome.example.com
>     <http://whome.example.com>. 2002050701 10001 1801 604801 181TTL=1800
>
>     PowerDNS:
>     ;; ->>HEADER<<- opcode: Query, rcode: NoError, id: 10043
>     ;; flags: AA QR , QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
>     ;; ANSWERS:
>     foo.bar.com <http://foo.bar.com>.SOAns1.example.com
>     <http://ns1.example.com>. whome.example.com
>     <http://whome.example.com>. 2010 10800 3600 604800 3600TTL=3600
>
> Which, if either of those is correct?
>
> Is PDNS incorrect and is it most likely an issue with my backend?
>
> Tia!
>
>
> _______________________________________________
> Pdns-dev mailing list
> Pdns-dev at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-dev



More information about the Pdns-dev mailing list