Date: Tue, 18 Oct 2022 22:55:23 +0200 From: Christian Weisgerber <naddy@mips.inka.de> To: Bob Proulx <bob@proulx.com> Cc: freebsd-questions@freebsd.org Subject: Re: resolv.conf question Message-ID: <Y08Su%2BysnXYOMSYA@lorvorc.mips.inka.de> In-Reply-To: <20221013102456085799804@bob.proulx.com> References: <alpine.BSF.2.00.2210111300120.66282@bucksport.safeport.com> <CAFbbPug83%2BxyjZoR%2BOZ1HqnzDCptmqLFbZ7vThgP9=O6QjF-KA@mail.gmail.com> <alpine.BSF.2.00.2210111630040.66282@bucksport.safeport.com> <20221012185254621820516@bob.proulx.com> <7F000833-031D-41D9-8C49-F999F1A9AD73@gushi.org> <20221013102456085799804@bob.proulx.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Y08Su%2BysnXYOMSYA>