On Tuesday 29 August 2006 20:30, Simon Geard wrote: > On Mon, 2006-08-28 at 12:07 -0700, Dan Nicholson wrote: > > The problem with editing resolv.conf is that the DHCP client is going > > to overwrite it every time. The proper solution shouldn't require any > > extra configuration unless it can't find the DHCP server on the > > router. AFAIK, dhcp should find that server automatically and fill out > > resolv.conf with the proper values. > > If it can't find the DHCP - or doesn't trust what it returns. > > I've got a DSL router that is supposed to provide DNS forwarding, and so > the internal DHCP reports the router as the nameserver. Unfortunately > the forwarding breaks sometimes, requiring me to go direct to the ISPs > nameserver instead. > > Simon.
Yea, that might of been the problem I had. At first, the DHCP server resolved the MAC number of the clients network card. But the DHCP server did not resolve the host name of the client. That is why I was adding the DHCP_HOSTNAME="linux23dragon" to "/etc/sysconfig/network-devices/ifconfig.eth0/dhclient" That option worked, but the DHCP server did not always show me the client host name, when I do a system reboot or network restart. Any one know why that is? Dave -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
