[Pdns-users] Sub-domains delegation. I am not sure what I missed.

Mariel Donila mariel.donila at gmail.com
Mon Jun 1 10:19:54 UTC 2020


I've got a test PDNS auth with mysql running in my internal network for the
domain and delegate the vlan100 subdomain to another DNS in the network
(see mysql extract below). I'm not sure why I'm not getting any answer
for the A record test. When I do dig directly to the NS of the vlan100
sub-domain I'm get answer.

I'm not sure what I am missing. Thanks!


[root at ns1 ~]# dig @192.168.1.53 test.vlan100.lab.integrate.zone


; <<>> DiG 9.11.4-P2-RedHat-9.11.4-16.P2.el7_8.3 <<>> @192.168.1.53
test.vlan100.lab.integrate.zone

; (1 server found)

;; global options: +cmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53535

;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 2

;; WARNING: recursion requested but not available


;; OPT PSEUDOSECTION:

; EDNS: version: 0, flags:; udp: 1680

;; QUESTION SECTION:

;test.vlan100.lab.integrate.zone. IN A


;; AUTHORITY SECTION:

vlan100.lab.integrate.zone. 3 IN NS dns.lab.integrate.zone.


;; ADDITIONAL SECTION:

dns.lab.integrate.zone. 3 IN A 192.168.1.50


;; Query time: 1 msec

;; SERVER: 192.168.1.53#53(192.168.1.53)

;; WHEN: Mon Jun 01 22:16:01 NZST 2020

;; MSG SIZE  rcvd: 94




DB extract:

MariaDB [powerdns]> select id, name, master from domains;

+----+-------------------------+--------+

| id | name                    | master |

+----+-------------------------+--------+

|  2 | lab.integrate.zone      |        |



MariaDB [powerdns]> select domain_id, name, type, content from records
where type='NS' and domain_id=2;


+-----------+----------------------------+------+------------------------+

| domain_id | name                       | type | content                |

+-----------+----------------------------+------+------------------------+

|         2 | lab.integrate.zone         | NS   | ns1.lab.integrate.zone |

|         2 | vlan100.lab.integrate.zone | NS   | dns.lab.integrate.zone |

+-----------+----------------------------+------+------------------------+



MariaDB [powerdns]> select domain_id, name, type, content from records
where id=137;

+-----------+------------------------+------+--------------+

| domain_id | name                   | type | content      |

+-----------+------------------------+------+--------------+

|         2 | dns.lab.integrate.zone | A    | 192.168.1.50 |

+-----------+------------------------+------+--------------+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20200601/88bedf8c/attachment-0001.htm>


More information about the Pdns-users mailing list