Re: resolv.conf question

From: Bob Proulx <bob_at_proulx.com>
Date: Tue, 18 Oct 2022 22:53:40 UTC
Christian Weisgerber wrote:
> Bob Proulx:
> > And also note that the resolver only reads resolv.conf at start up
> > time.  Meaning that if changes are made any programs using it must be
> > restarted.
>
> Actually, this was improved seven years ago.  I'll just quote from
> resolver(5):
>
>    reload-period:n
>                  The resolver checks the modification time of
>                  /etc/resolv.conf every n seconds.  If
>                  /etc/resolv.conf has changed, it is
>                  automatically reloaded.  The default for n is
>                  two seconds.  Setting it to zero disables the
>                  file check.

Woot!  :-)

Bob