[Pdns-users] NS delegation problems
Stefan Schmidt
zaphodb at zaphods.net
Wed Feb 4 12:41:42 UTC 2015
On 2015-02-04 13:10, James Cornman wrote:
> Hello,
Hi James,
> - There is an SOA record for the zone 94.145.204.in-addr.arpa
> - There are NS records for the zone 94.145.204.in-addr.arpa
> - There is an NS record for 100.94.145.204.in-addr.arpa
> - The NS server in the content field is not hosted by our DNS servers.
> - I've tried toggling the out-of-zone-additional-processing,
> send-root-referral fields
> - Same behavior on auth only servers vs auth + recursor servers
> - Have tried setting up a zone with SOA/NS records, and A record for
> the customer's DNS server,ÃÂ
> PDNS: Not working. No answer returned.
Below it seems that it answers just fine though.
> [james at eng:~] % dig @10.250.50.237 [2]ÃÂ 100.94.145.204.in-addr.arpa
> ptrÃÂ
>
> ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> @10.250.50.237
> [2]ÃÂ 100.94.145.204.in-addr.arpa ptr
> ; (1 server found)
> ;; global options: ÃÂ printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40501
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;100.94.145.204.in-addr.arpa. ÃÂ IN ÃÂ ÃÂ ÃÂ PTR
>
> ;; AUTHORITY SECTION:
> 100.94.145.204.in-addr.arpa. 3600 IN ÃÂ ÃÂ NS ÃÂ ÃÂ
> ÃÂ ns17.bitronictech.net.
>
> ;; Query time: 3 msec
> ;; SERVER: 10.250.50.237#53(10.250.50.237)
> ;; WHEN: Tue Feb ÃÂ 3 15:48:47 2015
> ;; MSG SIZE ÃÂ rcvd: 80
This does not seem wrong.
> BIND. Works fine.ÃÂ
>
> [james at eng:~] % dig @208.78.27.4 [5]ÃÂ 100.94.145.204.in-addr.arpa ptr
> ÃÂ ÃÂ
>
> ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> @208.78.27.4
> [5]ÃÂ 100.94.145.204.in-addr.arpa ptr
> ; (1 server found)
> ;; global options: ÃÂ printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2875
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
>
> ;; QUESTION SECTION:
> ;100.94.145.204.in-addr.arpa. ÃÂ IN ÃÂ ÃÂ ÃÂ PTR
>
> ;; ANSWER SECTION:
> 100.94.145.204.in-addr.arpa. 7200 IN ÃÂ ÃÂ PTR ÃÂ ÃÂ ÃÂ lopfar.net.
>
> ;; AUTHORITY SECTION:
> 100.94.145.204.in-addr.arpa. 3600 IN ÃÂ ÃÂ NS ÃÂ ÃÂ
> ÃÂ ns17.bitronictech.net.
>
> ;; ADDITIONAL SECTION:
> ns17.bitronictech.net. ÃÂ 5046 ÃÂ ÃÂ IN ÃÂ ÃÂ ÃÂ A ÃÂ ÃÂ ÃÂ
> 204.145.94.184
>
> ;; Query time: 3 msec
> ;; SERVER: 208.78.27.4#53(208.78.27.4)
> ;; WHEN: Tue Feb ÃÂ 3 15:48:
Here you ask with the "rd" aka recursion desired flag and it appears
that your BIND Server is indeed configured to recurse for you and go ask
ns17.bitronictech.net about the PTR for 100.94.145.204.in-addr.arpa.
This is now recursive DNS works, however it is not how authoritative DNS
works. BIND just happens to do both at the same time.
Did you try setting up a recursive nameserver to ask your PowerDNS auth
Server at 10.250.50.237 for 94.145.204.in-addr.arpa and then query it
for the PTR of 100.94.145.204.in-addr.arpa?
best regards,
Stefan
More information about the Pdns-users
mailing list