[Pdns-users] Recursor
Leen Besselink
leen at consolejunkie.net
Wed Apr 23 11:56:37 UTC 2014
On Wed, Apr 23, 2014 at 01:49:17PM +0200, Johan Kooijman wrote:
> Hi all,
>
> I'm seeing something I cannot explain. I've setup my pdns daemon to send
> requests for recursions to Google DNS for now. But when I execute a host
> lookup, I'm seeing this:
>
> *[13:35:42 jkooijman /home/jkooijman]$ host cnn.com <http://cnn.com> <IP>*
> *Using domain server:*
> *Name: <hostname>*
> *Address: <IP>#53*
> *Aliases:*
>
> *cnn.com.jkit.nl <http://cnn.com.jkit.nl> mail is handled by 10
> mail.jkit.nl <http://mail.jkit.nl>*.
>
> Now.. jkit.nl is a domain in the DNS database itself, but I don't really
> understand why pdns adds it to my query.
>
It's probably based on your /etc/resolv.conf
One tip: do not test with nslookup or host they are trying to be smart.
Try testing with: dig it does what you ask it to do and nothing more.
dig @server-ip cnn.com
( the default query is for 'A' )
> My config:
>
> setuid=pdns
> setgid=pdns
> launch=gmysql
> gmysql-host=localhost
> gmysql-user=<username>
> gmysql-password=<password>
> gmysql-dbname=dns
> disable-axfr=no
> allow-axfr-ips=127.0.0.1/32 <more IP's>
> allow-recursion=127.0.0.1/32 <more IP's>
> recursor=8.8.8.8
> local-address=<IP>
> loglevel=2
>
> Am I missing something here?
>
> --
> Met vriendelijke groeten / With kind regards,
> Johan Kooijman
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
More information about the Pdns-users
mailing list