On Jul 15, 2016, at 8:48 AM, Matus UHLAR - fantomas <uh...@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 _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users