[Pdns-users] less output of pdns-recursor compared to Google DNS

Stefan Schmidt zaphodb at zaphods.net
Mon May 7 16:47:30 UTC 2012


On Mon, May 7, 2012 at 10:58 AM, Muntasir Rahman
<muntasir.rahman at gmail.com>wrote:

> Hi All,
>

Hi Muntasir,


> I query a domain name to a local pdns-recursor, and i got much less output
> compared to Google DNS.
>
> $ dig @127.0.0.1 +tcp www.detik.com any
>
>> ;; Got answer:
>> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32248
>> ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 2
>>
>
> $ dig @8.8.8.8 +tcp www.detik.com any
>
>> ;; Got answer:
>> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25034
>> ;; flags: qr rd ra; QUERY: 1, ANSWER: 16, AUTHORITY: 0, ADDITIONAL: 0
>>
>
> PDNS Recursor 3.3, downloaded and compiled from tar.gz source.
>
> My questions are:

- why do i get much less result compared to Google DNS ?
>

Well quite simply,
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.
It would appear that 8.8.8.8 is frequently being asked for all the records
it returned to you upon asking for www.detik.com ANY but your local
PowerDNS recursor is not.


> - which configuration item of recursor.conf should i change to get similar
> result of google DNS?
>

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.

 Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20120507/e84ce273/attachment-0001.html>


More information about the Pdns-users mailing list