[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

resolvconf w/ dhcpd -> /etc/hosts not working



Hi!

I'm using a dhcp3 client with resolvconf configuration. The ip updating and 
name server configuration works fine, but I can not use the /etc/hosts file.
For example if I set this up in /etc/hosts:

192.168.0.1    server.example.org   server

Then typing 'host server` will end up with the error:

Nameserver not responding
server.example.org A record not found, try again

What do I have to configure to make the dns lookups first read from 
the /etc/hosts file and after that the nameservers.

My /etc/host.conf looks like this:

order hosts,bind
multi on



Thanks!

Daniel

-- 
LeVA



Reply to: