[Pdns-users] nxdomain() prepending, not replacing
Peter van Dijk
peter.van.dijk at netherlabs.nl
Mon May 21 19:02:11 UTC 2012
Hello Ben,
On May 21, 2012, at 20:42 , Ben C. wrote:
> $ host broken.example.com my.dns.server.com
> Using domain server:
> Name: my.dns.server.com
> Address: my.dns.server.com #53
> Aliases:
>
> broken.example.com has address 5.6.7.8
> broken.example.com has address 1.2.3.4
> Host broken.example.com not found: 3(NXDOMAIN)
> Host broken.example.com not found: 3(NXDOMAIN)
>
>
> .. Is it me, or does it, in a very incorrect/unexpected way, seem to be returning A, A, NXDOMAIN, NXDMOAIN, ..
> instead of what one would expect, .. A, A?
No, this is host lying to you. Don't use host for debugging. I recommend 'dig'. Example: dig A broken.example.com @my.dns.server.com
Kind regards,
--
Peter van Dijk
Netherlabs Computer Consulting BV - http://www.netherlabs.nl/
More information about the Pdns-users
mailing list