Re: resolv.conf question
- Reply: Bob Proulx : "Re: resolv.conf question"
- In reply to: Bob Proulx : "Re: resolv.conf question"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Oct 2022 20:55:23 UTC
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.
--
Christian "naddy" Weisgerber naddy@mips.inka.de