[Pdns-users] Recursor
Aki Tuomi
cmouse at youzen.ext.b2.fi
Wed Apr 23 12:06:32 UTC 2014
You have search parameter in /etc/resolv.conf, and host command uses that.
Now, you have a *.jkit.nl IN MX record, which in turn gets used by host and
gethostbyname when asked for it.
Easy fix. Remove search jkit.nl from /etc/resolv.conf and stop using host =)
use dig instead.
Aki
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.
>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20140423/e0ae2cf5/attachment-0001.sig>
More information about the Pdns-users
mailing list