[Pdns-users] Glue records in PowerDNS and MySQL backend

Carsten Schmitz carsten.schmitz at limesurvey.org
Wed Jan 11 15:13:03 UTC 2023


Hello,

My case is a bit complicated:

I run a PowerDNS  server with a zone "firstdomain.org" which is using a 
name server name ns1.seconddomain.org .

Note that seconddomain.org is not using the same DNS server, but a 
registrar. But the entries ns1.seconddomain.org and ns2.seconddomain.org 
. point to our PowerDNS server (by A entries).

If I dig firstdomain.org on our DNS server then I get

dig @ns1.seconddomain.org firstdomain.org NS

; <<>> DiG 9.18.1-1ubuntu1.2-Ubuntu <<>> @ns1.limesurvey.org 
limequery.org NS
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46108
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;firstdomain.org.                 IN      NS

;; ANSWER SECTION:
firstdomain.org.          3600    IN      NS ns1.seconddomain.org.
firstdomain.org.          3600    IN      NS ns2.seconddomain.org.

;; Query time: 0 msec
;; WHEN: Wed Jan 11 15:07:10 UTC 2023
;; MSG SIZE  rcvd: 89


How can I create a (here non-existing) ADDITIONAL SECTION with GLUE 
records? So there does  not need to be another request to get the IP 
address for ns1.seconddomain.org ?

I tried  creating a zone "seconddomain.org" on our Powerdns server and 
adding the A entries but they are not used.

Any help would be appreciated.

Best regards

Carsten







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20230111/41e2d85d/attachment.htm>


More information about the Pdns-users mailing list