<br><br><div class="gmail_quote">On 1 November 2012 11:32, bert hubert <span dir="ltr"><<a href="mailto:bert.hubert@netherlabs.nl" target="_blank">bert.hubert@netherlabs.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Thu, Nov 01, 2012 at 11:28:20AM +0000, James Leavers wrote:<br>
> Hi,<br>
><br>
> Is it correct that the recursor will use the results from the root servers<br>
> as opposed to the next level down, the gTLD servers? For instance: dig ns<br>
> <a href="http://yahooapis.com" target="_blank">yahooapis.com</a> on my PowerDNS recursor:<br>
<br>
</div>Yes, for NS records and currently released PowerDNS versions, this is true.<br>
It is a slight wart.<br>
<div class="im"><br>
> The root servers have ns7 whereas the gtld servers do not. So it's almost<br>
> as if my pDNS implementation (pdns-recursor-3.1.5-1.el5.centos) is using<br>
> the root server results as opposed to the gtld results. Is this what's<br>
> happening?<br>
<br>
</div>Once a single query has gone on to the servers with all the data, that data<br>
then prevails (after the packetcache has expired which contained the first<br>
answer based on the COM server answer).<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
PowerDNS Website: <a href="http://www.powerdns.com/" target="_blank">http://www.powerdns.com/</a><br>
PowerDNS Community Website: <a href="http://wiki.powerdns.com/" target="_blank">http://wiki.powerdns.com/</a><br>
PowerDNS is supported and developed by Netherlabs: <a href="http://www.netherlabs.nl" target="_blank">http://www.netherlabs.nl</a></font></span></blockquote><div><br></div><div><br></div><div>Thanks - as a test I have just installed the latest version pdns-recursor-3.3-1 on a separate server and copied recursor.conf across from the original server to make it the fairest test I could think of - interestingly this does not appear to have the same issue.</div>

<div><br></div><div><div>; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_5.3 <<>> @localhost ns <a href="http://yahooapis.com">yahooapis.com</a></div><div>; (1 server found)</div><div>;; global options:  printcmd</div>

<div>;; Got answer:</div><div>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7930</div><div>;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 4</div><div><br></div><div>;; QUESTION SECTION:</div>

<div>;<a href="http://yahooapis.com">yahooapis.com</a>.<span class="Apple-tab-span" style="white-space:pre">                      </span>IN<span class="Apple-tab-span" style="white-space:pre">  </span>NS</div><div><br></div><div>;; ANSWER SECTION:</div>

<div><a href="http://yahooapis.com">yahooapis.com</a>.<span class="Apple-tab-span" style="white-space:pre">               </span>86400<span class="Apple-tab-span" style="white-space:pre">       </span>IN<span class="Apple-tab-span" style="white-space:pre">  </span>NS<span class="Apple-tab-span" style="white-space:pre">  </span><a href="http://ns1.yahoo.com">ns1.yahoo.com</a>.</div>

<div><a href="http://yahooapis.com">yahooapis.com</a>.<span class="Apple-tab-span" style="white-space:pre">               </span>86400<span class="Apple-tab-span" style="white-space:pre">       </span>IN<span class="Apple-tab-span" style="white-space:pre">  </span>NS<span class="Apple-tab-span" style="white-space:pre">  </span><a href="http://ns2.yahoo.com">ns2.yahoo.com</a>.</div>

<div><a href="http://yahooapis.com">yahooapis.com</a>.<span class="Apple-tab-span" style="white-space:pre">               </span>86400<span class="Apple-tab-span" style="white-space:pre">       </span>IN<span class="Apple-tab-span" style="white-space:pre">  </span>NS<span class="Apple-tab-span" style="white-space:pre">  </span><a href="http://ns3.yahoo.com">ns3.yahoo.com</a>.</div>

<div><a href="http://yahooapis.com">yahooapis.com</a>.<span class="Apple-tab-span" style="white-space:pre">               </span>86400<span class="Apple-tab-span" style="white-space:pre">       </span>IN<span class="Apple-tab-span" style="white-space:pre">  </span>NS<span class="Apple-tab-span" style="white-space:pre">  </span><a href="http://ns5.yahoo.com">ns5.yahoo.com</a>.</div>

</div></div><br>