Subject: Re: delay needed after started named?
To: Wolfgang S. Rupprecht <>
From: Steven M. Bellovin <>
List: netbsd-users
Date: 05/04/2004 16:03:02
In message <>, "Wolfgang S. Rupprecht
" writes:
>Steven M. Bellovin writes:
>> The particular problem case is, which selects among a 
>> large set of servers.  I suppose I could write a little daemon that 
>> queries for it (and other important servers) after things are booted, 
>> and changes the "static" entries in /etc/hosts...
>If you are going to query something that isn't your own named, it
>sounds like a bit more work than I would do for a quick hack.
>Come to think of it, I wonder is a simple "host" waiting to resolve
>the hostname would be good enough as a self-adjusting wait for the
>nameserver to come up.  eg.  before doing the ntpdate, run:
>    host -w -W 120 || echo "named is sucking mud again"

Hmm -- that's a thought, though it will make disconnected boots even 
slower than they are today.

Btw, I don't see a -W option to host on 2.0beta or -current.

		--Steve Bellovin,