name resolution puzzle

Robert Huff roberthuff at rcn.com
Fri Aug 3 22:20:27 UTC 2018


Valeri Galtsev writes:

>  I just noticed some behavior of commands "host" and "nslookup" that 
>  puzzles me. Namely, they do not query /etc/hosts file first, but query 
>  nameserver instead, even though nsswitch.conf order is "files dns":

	...

>  Can someone enlighten me on this?

	What is the content of /etc/host.conf, and does its usage apply
here?


			Respectfully,


				Robert Huff





More information about the freebsd-questions mailing list