<html><head></head><body>Be aware that "b.nic.aaa A" is not part of the root zone. It's only a glue record.<br><br><div class="gmail_quote">Am 21. Dezember 2021 06:28:53 MEZ schrieb Jahanzeb Arshad via Pdns-users <pdns-users@mailman.powerdns.com>:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>Greeting,</div><div><br></div><div>I am having trouble in getting zonetocache working for the root zone. I am using PowerDNS Recursor 4.6.0.</div><div><br></div><div>I have following in my /etc/powerdns/recursor.lua configuration:</div><div><br></div><div>dofile("/usr/share/pdns-recursor/lua-config/rootkeys.lua")</div><div>zoneToCache(".", "url", "<a href="https://www.internic.net/domain/root.zone">https://www.internic.net/domain/root.zone</a>", { refreshPeriod = 0 })</div><div><br></div><div><br></div><div>When I start the server I get the following message in the logs:</div><div><br></div><div>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="."</div><div><br></div><div><br></div><div>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.</div><div><br></div><div>$ dig b.nic.aaa</div><div><br></div><div>;; omitting output</div><div><br></div><div>;; ANSWER SECTION:</div><div>b.nic.aaa.              86400   IN      A       37.209.194.9</div><div><br></div><div>;; Query time: 512 msec</div><div><br></div><div><br></div><div><span><pre>-- <br></pre><div>Regards<br><b>Jahanzeb Arshad</b><br><br></div></span></div></blockquote></div><div style='white-space: pre-wrap'><div class='k9mail-signature'>-- <br>Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.</div></div></body></html>