Date: Tue, 21 Jan 2003 18:15:44 -0500 From: "Dennis Mathiasen" <dennis@deerfieldhosting.com> To: =?iso-8859-1?Q?J=F8rgen?= <daxxar@chello.no> Cc: <freebsd-questions@FreeBSD.ORG> Subject: RE: dhclient; DNS not updating properly Message-ID: <NFBBLPGAMKGJPAINGIJKMECDEEAA.dennis@deerfieldhosting.com> In-Reply-To: <000501c2c14a$13667e60$63000a0a@daxxar>
next in thread | previous in thread | raw e-mail | index | archive | help
Here is the complete contents of /etc/dhclient.conf, on my 4.7-Stable box: prepend domain-name-servers 127.0.0.1; request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, host-name; require subnet-mask, domain-name-servers; timeout 60; retry 60; reboot 10; select-timeout 5; initial-interval 2; The key line is require. Dennis Mathiasen dennis@deerfieldhosting.com -------------------------------------------- Deerfield Hosting - High Performance Hosting http://DeerfieldHosting.com?ref=sig -------------------------------------------- > Im have a network of 4 PCs: > One running RedHat 7.2, one running > WinXP, one running Debian and the last > (a laptop) running FreeBSD 4.7-RELEASE. > The RedHat-box acts as a NAT gateway to > the internet, and runs a DHCPD to > give out IPs, DNS-servers and such, and > here comes the problem. The two > other machines gets all the info > properly, but the FreeBSD box does NOT get > DNS-server (it seems), atleast it > doesnt update /etc/resolv.conf properly. > ep0 is a PCMCIA 3Com MegaHertz 574B NIC. > > /var/log/messages only tells me this: > dhclient: New Network Number: 10.10.0.96 > dhclient: New Broadcast Address: 10.10.0.111 > dhclient: New Hostname: > dhclient: New IP Address (ep0): 10.10.0.100 > dhclient: New Subnet Mask (ep0): 255.255.255.240 > dhclient: New Broadcast Address (ep0): > 10.10.0.111 > dhclient: New Routers: 10.10.0.97 > > I've tried adding the following to > /etc/dhclient.conf (even though manpages > specify that it shouldnt be neccesary): > interface "ep0" { > request subnet-mask, > broadcast-address, time-offset, routers, > domain-name, domain-name-servers, host-name; > require subnet-mask, > domain-name-servers; > } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NFBBLPGAMKGJPAINGIJKMECDEEAA.dennis>