[Pdns-users] ZoneToCache for root zone not working

Winfried Angele abang at t-ipnet.net
Tue Dec 21 06:47:28 UTC 2021


Be aware that "b.nic.aaa A" is not part of the root zone. It's only a glue record.

Am 21. Dezember 2021 06:28:53 MEZ schrieb Jahanzeb Arshad via Pdns-users <pdns-users at mailman.powerdns.com>:
>Greeting,
>
>I am having trouble in getting zonetocache working for the root zone. I
>am using PowerDNS Recursor 4.6.0.
>
>I have following in my /etc/powerdns/recursor.lua configuration:
>
>dofile("/usr/share/pdns-recursor/lua-config/rootkeys.lua")
>zoneToCache(".", "url", "https://www.internic.net/domain/root.zone", {
>refreshPeriod = 0 })
>
>
>When I start the server I get the following message in the logs:
>
>Dec 21 09:17:13 server.nayatel.com pdns-recursor[19209]: msg="Loaded
>zone into cache" subsystem="ztc" level=0 ts="1640060233.959"
>refresh="0" zone="."
>
>
>But when I do dig for the records in the root.zone I get high Query
>time. On subsequent queries I get 0 msec time which means it was cached
>after I did query for the record.
>
>$ dig b.nic.aaa
>
>;; omitting output
>
>;; ANSWER SECTION:
>b.nic.aaa. 86400 IN A 37.209.194.9
>
>;; Query time: 512 msec
>
>
>-- 
>Regards
>Jahanzeb Arshad
>

-- 
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20211221/49f21443/attachment.htm>


More information about the Pdns-users mailing list