*BSD News Article 61764


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!news.uoregon.edu!news1.mpcs.com!hgoldste
From: hgoldste@bbs.mpcs.com (Howard Goldstein)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: [Q] resolv.conf problems
Date: 11 Feb 1996 18:32:21 GMT
Organization: disorganization
Lines: 34
Message-ID: <slrn4hsdhm.lbo.hgoldste@bbs.mpcs.com>
Reply-To: hg@n2wx.ampr.org
NNTP-Posting-Host: bbs.mpcs.com
X-Newsreader: slrn (0.8.5)


I have two FreeBSD 2.1 STABLEs on a LAN.  The third box on the lan is
only available part-time; it's also the defaultroute and nameserver
for the two 2.1 boxes.

Problem arises when either of the two 2.1 boxes boots up and the
nameserver box is down.  My resolv.conf file looks like this:

 order hosts,bind
 search n2wx.mpcs.com n2wx.ampr.org mpcs.com
 nameserver      204.215.226.90


and so long as the nameserver box is up, the boot goes well.  But if it's
down then the boot process locks up after the ethernet card is
initialized, then again as the rpc daemons are brought up, and one
last time after sendmail is brought up.

The lockups can be ^Cd out of but it seems to leave things hosed as a
netstat -r locks up (as does any attempt to clear all routes with
'route' or add new ones).

Strangely enough the problem disappears when resolv.conf is removed.
Nothing in my sysconf references anything requiring a DNS lookup.
/etc/hosts has paths to everything.  Using dotted quad addresses in
sysconf only doesn't help.

Or maybe it isn't strange...Anyone have any ideas?  As much asI'd like
to leave box #3 up all the time I can't.  


-- 
Howard Goldstein              <hg@n2wx.ampr.org>     http://www.tapr.org/~n2wx/