[Pdns-users] How to avoid to be redirected to ad by my ISP if NXDOMAIN?
Ton van Rosmalen
ton at netbase.nl
Fri Nov 13 05:56:42 UTC 2009
Gerhard GauÃÂling schreef:
> Am Donnerstag, 12. November 2009 schrieben Sie:
>> On Thu, Nov 12, 2009 at 09:14:28PM +0100, Gerhard GauÃÂling wrote:
>>> ~$ dig gogle.gom
>> This is very strange. Are you 100% sure the question is being
>> processed by your local PowerDNS Recursor?
>> Most NXDOMAIN redirection setups do not actively intercept non-RD DNS
>> Can you show the output of your Recursor running in '--trace' mode
>> when answering a question for 'gogle.gom'?
> I think you're right, but what processes the question then? When I stop
> the recursor I get the same output.
> But I don't understand how to trace the output. I get no messages and no
> Nov 12 23:59:50 Calling daemonize, going to background
> gerhard at ubuntu:~$
> gerhard at ubuntu:~$ ps axu|grep recu
> root 20642 0.0 0.0 12704 1416 ? Ss Nov12 0:00
> pdns_recursor --local-address=172.16.240.1 --allow-from=172.16.240.1/8 --daemon --trace
> Now sometimes I don't get those responses:
> ~$ dig ggfj.gm @localhost
> gerhard at ubuntu:~$ lynx --dump ggfjjk.gom
What is the contents of the /etc/resolv.conf file?
The dig @localhost queries the local recursor. Lynx uses the settings of
If your ISP-nameservers are in the resolv.conf (perhaps via dhcp?) that
could explain the issue your seeing.
More information about the Pdns-users