Does the 'hosts' line in the nsswitch.conf direct the resolver to try
'files' before 'dns'?
On 2/14/13, Martin Pola martin.p...@kottnet.net wrote:
Hi,
I'm trying to get my FreeBSD system to resolve localhost into 127.0.0.1, but
unfortunately it doesn't work. It appears the resolver is never
On 14/02/2013 22:35, Martin Pola wrote:
I'm trying to get my FreeBSD system to resolve localhost into
127.0.0.1, but unfortunately it doesn't work. It appears the resolver is
never reading from /etc/hosts, where I have this line:
127.0.0.1 localhost
Here's a sample output of what I get when
Hi,
On Thu, 14 Feb 2013 23:35:12 +0100
Martin Pola martin.p...@kottnet.net wrote:
I'm trying to get my FreeBSD system to resolve localhost into
127.0.0.1, but unfortunately it doesn't work. It appears the resolver
is never reading from /etc/hosts, where I have this line: 127.0.0.1
localhost
I have nsswitch.conf in place
-bash-2.05b# cat /etc/nsswitch.conf
hosts: files dns
and removed host.conf and rebooted the
machine. rc.network recreated correctly host.conf from nsswitch.conf
as:
-bash-2.05b# cat /etc/host.conf
# Auto-generated from nsswitch.conf, do not edit
hosts
bind
but the