Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] NetBSD dhclient...
- To: tlug@example.com
- Subject: Re: [tlug] NetBSD dhclient...
- From: Michael Doughty <Doughty_Michael@example.com>
- Date: Thu, 11 Apr 2002 09:41:14 +0900
- Content-transfer-encoding: 7bit
- Content-type: text/plain; charset=US-ASCII
- In-reply-to: <349di.A.mOC.FQAt8@example.com>
- References: <20020410134509.62d81247.Doughty_Michael@example.com><349di.A.mOC.FQAt8@example.com>
>> Somewhere around 10 Apr 2002 18:20:34 +0900, Stephen J. Turnbull wrote: > >>>>> "Michael" == Michael Doughty <Doughty_Michael@example.com> writes: > The Debian linux dhclient-script (originally from NetBSD) contains > this function > > make_resolv_conf() { > echo search $new_domain_name >/etc/resolv.conf > for nameserver in $new_domain_name_servers; do > echo nameserver $nameserver >>/etc/resolv.conf > done > } > <lots of stuff snipped> > Look familiar? > Unfortunately, no. Not really. But I did find the problem last night looking through the dhclient-script with my brother. Apparently NetBSD thinks that if a DHCP server isn't going to tell you which domain name to use, it has no business telling you where DNS servers are. It has a little statement in the dhclient-script that looks like: (From memory, but should give the general idea) if [ [ ! -z $DOMAIN_NAME ] -a [ ! -z $DOMAIN_NAME_SERVERS ] ]; before the part where it updates resolv.conf. So I made my dhcp server specify a domain name, and suddenly all was grand. Personally, I think this classifies as a bug, but we will see what the NetBSD community thinks. Michael
- Follow-Ups:
- Re: [tlug] NetBSD dhclient...
- From: Christopher SEKIYA
- References:
- [tlug] NetBSD dhclient...
- From: Michael Doughty
Home | Main Index | Thread Index
- Prev by Date: [tlug] vi for emacs users reference?
- Next by Date: Re: [tlug] NetBSD dhclient...
- Previous by thread: Re: [tlug] NetBSD dhclient...
- Next by thread: Re: [tlug] NetBSD dhclient...
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links