Subject: Re: delay needed after started named?
To: Steven M. Bellovin <>
From: Wolfgang S. Rupprecht <>
List: netbsd-users
Date: 05/04/2004 12:56:19
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"