<div class="gmail_quote">On Mon, May 7, 2012 at 10:58 AM, Muntasir Rahman <span dir="ltr"><<a href="mailto:muntasir.rahman@gmail.com" target="_blank">muntasir.rahman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi All,<br></blockquote><div><br></div><div>Hi Muntasir,</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I query a domain name to a local pdns-recursor, and i got much less output compared to Google DNS.<br>
<br>$ dig @<a href="http://127.0.0.1" target="_blank">127.0.0.1</a> +tcp <a href="http://www.detik.com" target="_blank">www.detik.com</a> any<br>

<blockquote style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">;; Got answer:<br>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32248<br>;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 2<br>


</blockquote><br>$ dig @<a href="http://8.8.8.8" target="_blank">8.8.8.8</a> +tcp <a href="http://www.detik.com" target="_blank">www.detik.com</a> any<br><blockquote style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">


;; Got answer:<br>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25034<br>;; flags: qr rd ra; QUERY: 1, ANSWER: 16, AUTHORITY: 0, ADDITIONAL: 0<br></blockquote><br>PDNS Recursor 3.3, downloaded and compiled from tar.gz source.<br>


<br>My questions are: </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">- why do i get much less result compared to Google DNS ?<br></blockquote><div><br></div>
<div>Well quite simply,</div><div>upon receiving an 'ANY' query a recursive (or caching) nameserver will answer with every resource record it has in its cache for the given qname.</div><div>It would appear that 8.8.8.8 is frequently being asked for all the records it returned to you upon asking for <a href="http://www.detik.com">www.detik.com</a> ANY but your local PowerDNS recursor is not.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">- which configuration item of recursor.conf should i change to get similar result of google DNS?<br></blockquote>
<div><br></div><div>Nothing you can change in recursor.conf will have the desired effect on this other than querying for all these names you want to see in your dig ANY output separately. </div><div><br></div><div> Stefan</div>
</div><br>