On Mon, May 7, 2012 at 10:58 AM, Muntasir Rahman
<[email protected]>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
_______________________________________________
Pdns-users mailing list
[email protected]
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to