Josh Paetzel <[EMAIL PROTECTED]> wrote: > I have a stock 6.0-RELEASE box that doesn't seem to be > reading /etc/hosts > > In /etc/hosts I have: > > 192.168.1.101 example example.example.org > > /etc/nsswitch.conf is stock: > > group: compat > group_compat: nis > hosts: files dns > networks: files > passwd: compat > passwd_compat: nis > shells: files > > $ host example > Host example not found: 3(NXDOMAIN) > > $ host example.example.org > Host example not found 3(NXDOMAIN)
Did host ever query /etc/hosts? > What am I doing wrong here that is keeping /etc/hosts from being read? Does ping ignore /etc/hosts as well? [EMAIL PROTECTED] ~ $host localhost Host localhost not found: 3(NXDOMAIN) [EMAIL PROTECTED] ~ $ping localhost PING localhost (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.383 ms ^C --- localhost ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.383/0.383/0.383/0.000 ms Fabian -- http://www.fabiankeil.de/
signature.asc
Description: PGP signature
