Subject: Re: /etc/default
To: Marc Unangst <mju@cs.cmu.edu>
From: Ken Nakata <kenn@romulus.rutgers.edu>
List: current-users
Date: 07/27/1995 01:30:17
> kenn@romulus.rutgers.edu (Ken Nakata) writes:
> >I personally wish there was a similar functionality in NetBSD.  That
> >way I wouldn't have to move /etc/resolv.conf around each time I bring
> >up and down SLIP (= the only net connection on my box), for example.
> 
> I don't think I understand why you need to do this.  When your SLIP
> connection is up, you presumably have a default route through it, and
> your nameserver is accessible.

Yes, of course.

> When your SLIP connection is down, you remove the default route, and
> attempts to reach your nameserver immediately fail with a "network
> unreachable" error.

No, it doesn't.  I've never looked into it really hard and I don't
know why, but it doesn't.  It waits, waits, and waits until timed out.
I configure my box as a "cache only" configuration, and it looks up
itself first for the name service.  Maybe it shouldn't look up itself
first if I hate to wait?  Hmm, I think I'm going to try that first...

/kenn