Resolving issue on specific domain

Chris Buxton clists at buxtonfamily.us
Fri Jul 15 16:56:00 UTC 2016


On Jul 15, 2016, at 8:48 AM, Matus UHLAR - fantomas <uhlar at fantomas.sk> wrote:
> 
> On 15.07.16 14:05, Daniel Dawalibi wrote:
>> Dig domainname -> Server failed
> 
> please show us output of it.
> when 127.0.0.1 is first in /etc/resolv.conf, dig should contact localhost
> first, and the result should be the same as dig @localhost domainname.

You should not rely on the order of entries in resolv.conf. Servers will not always be queried in the listed order. This is implementation-specific.

If you have two servers that will answer differently to the same query, then you shouldn't have those two servers in resolv.conf. Aim for a consistent (and consistently useful) result.

Regards,
Chris


More information about the bind-users mailing list