Author: Jeffrey Pyne Date: Subject: order for resolution -> hosts vs dns
On RedHat 7.1 (and Solaris, too), edit /etc/nsswitch.conf and change the
line that reads "hosts: files nisplus dns" to read something like "hosts:
dns [!UNAVAIL=return] files". See the nsswitch.conf(5) manpage for more
info.
~Jeff
On Thursday, February 21, 2002, Mike wrote:
> How do you change the order which a host resolves a name
> from hosts 1st , dns 2nd to dns 1st, hosts 2nd?