From aef16cc8a4c670036d45590877d411a97f01e0cd Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 3 Jul 2017 21:06:23 +0200 Subject: resolv: Automatically reload a changed /etc/resolv.conf file [BZ #984] This commit enhances the stub resolver to reload the configuration in the per-thread _res object if the /etc/resolv.conf file has changed. The resolver checks whether the application has modified _res and will not overwrite the _res object in that case. The struct resolv_context mechanism is used to check the configuration file only once per name lookup. --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index bf2b5dfa18..1f45852836 100644 --- a/NEWS +++ b/NEWS @@ -245,6 +245,10 @@ Version 2.26 array, which is limited to six entries) will only use the first six search domains, as before. +* The glibc DNS stub resolver now automatically reloads /etc/resolv.conf, + to pick up changed configuration settings. The new “no-reload” + (RES_NORELOAD) resolver option disables this behavior. + Security related changes: * The DNS stub resolver limits the advertised UDP buffer size to 1200 bytes, -- cgit 1.4.1