Carlos E. R. wrote:
On 30/10/2018 22.32, Marc Chamberlin wrote:
...
My guess is that these attempts to resolve these names and ip addresses is being done by my bind dns server and not by looking things up in the /etc/hosts file. But I don't understand why given that I am specifying that the order of lookup is to be done first via the /etc/hosts file and then by the bind dns server if the lookup in the hosts file fails. What am I missing and/or not understanding?
Thanks in advance for any guidance/clues as to why I am seeing these results.
I don't know, but I know that some commands ignore the hosts file; specifically the host command. I believe the ping command does honour it.
Most things use the regular resolver, which will look at /etc/hosts when instructed to by /etc/nsswitch.conf. Utilities such as host and dig are _DNS_ utilities, they do DNS lookups, they don't use the resolver. -- Per Jessen, Zürich (9.5°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org