<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Silva,<br>
</p>
<p>I do not understand that tutorial language and you have not
shared much details what it should do. But note that bind will
cache both positive and negative (non-existent) answers, so
repeated tests answers are delivered from cache even when local
domain is not present. I would recommend using statistics counters
of forwarded queries instead of response time.</p>
<p>Aggressive DNSSEC validation can be used to synthetize response
for names not yet queried, if the name is in range of already
negative answer previously received. The result might be similar
to local copy of root zone if enough negative answers is cached.<br>
</p>
<p>This is enabled by default per
<a class="moz-txt-link-freetext" href="https://bind9.readthedocs.io/en/v9.18.19/reference.html#namedconf-statement-synth-from-dnssec">https://bind9.readthedocs.io/en/v9.18.19/reference.html#namedconf-statement-synth-from-dnssec</a>
in version 9.18.19. If you have dnssec-validation yes or auto,
then this would be active. So cache state can make replies
instant. I think observing traffic using wireshark or statistics
counters might be provide more reliable metric.</p>
<p>Best Regards,</p>
<p>Petr<br>
</p>
<div class="moz-cite-prefix">On 27. 09. 23 17:53, Silva Carlos
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAE0CwPqy17EA41H-cNhnz0TU5O8Z33fxS0WO+i_5tZTaQYEeag@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div><a class="gmail_plusreply" id="gmail-plusReplyChip-0"
moz-do-not-send="true">+++++++++++++++++++++++++++++++++++++++++++++++++</a><br>
</div>
<div><br>
</div>
Hey guys.<br>
I have two recursive servers, bind 9.18 on Debian 12.<br>
<br>
On server A I configured HyperLocal. On Server B I did NOT
configure HyperLocal.<br>
<br>
I ran the command "dig @localhost EXAMPLES" on both servers.<br>
EXAMPLES: blabla.sdf.dd or teste.com.eroterrter or world.nanana<br>
<br>
Problem: Both Servers report that "Query TIme = 0 ms". I
understand that Server A should result in 0ms and Server B
should have a non-zero time as Server B does not have a copy of
the Root Zone DB.<br>
<br>
Question: Where am I going wrong? Am I missing some basic
principle?<br>
<br>
<br>
I'm following this tutorial: <a
href="https://semanacap.bcp.nic.br/files/apresentacao/arquivo/864/Implementacao%20de%20servidores%20recursivos%20guia%20de%20praticas%20semcap%20ceptro%20br.pdf"
moz-do-not-send="true" class="moz-txt-link-freetext">https://semanacap.bcp.nic.br/files/apresentacao/arquivo/864/Implementacao%20de%20servidores%20recursivos%20guia%20de%20praticas%20semcap%20ceptro%20br.pdf</a><br>
<div><br>
</div>
<div>Best Regards <a class="gmail_plusreply"
id="plusReplyChip-0" moz-do-not-send="true">+++++++++++++++++++++++++++++++++++++++++++++++++</a></div>
</div>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid #d3d4de">
<tbody>
<tr>
<td style="width:55px;padding-top:13px"><a
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail"
target="_blank" moz-do-not-send="true"><img
src="https://s-install.avcdn.net/ipm/preview/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif"
alt="" style="width: 46px; height: 29px;"
moz-do-not-send="true" width="46" height="29"></a></td>
<td
style="width:470px;padding-top:12px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Não
contém vírus.<a
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail"
target="_blank" style="color:#4453ea"
moz-do-not-send="true">www.avast.com</a></td>
</tr>
</tbody>
</table>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
</blockquote>
<pre class="moz-signature" cols="72">--
Petr Menšík
Software Engineer, RHEL
Red Hat, <a class="moz-txt-link-freetext" href="http://www.redhat.com/">http://www.redhat.com/</a>
PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB</pre>
</body>
</html>