From d55b0463b2537874feca70e3c4c419b4f8831444 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 29 Sep 2017 21:19:54 +0200 Subject: resolved: add support for explicitly forgetting everything we learnt about DNS server feature levels This adds "systemd-resolve --reset-server-features" for explicitly forgetting what we learnt. This might be useful for debugging purposes, and to force systemd-resolved to restart its learning logic for all DNS servers. --- man/systemd-resolved.service.xml | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) (limited to 'man/systemd-resolved.service.xml') diff --git a/man/systemd-resolved.service.xml b/man/systemd-resolved.service.xml index fd717e4963..1ad9500d78 100644 --- a/man/systemd-resolved.service.xml +++ b/man/systemd-resolved.service.xml @@ -202,19 +202,37 @@ SIGUSR1 - Upon reception of the SIGUSR1 process signal systemd-resolved will dump the - contents of all DNS resource record caches it maintains into the system logs. + Upon reception of the SIGUSR1 process signal + systemd-resolved will dump the contents of all DNS resource record caches it maintains into + the system logs. SIGUSR2 - Upon reception of the SIGUSR2 process signal systemd-resolved will flush all - caches it maintains. Note that it should normally not be necessary to request this explicitly – except for - debugging purposes – as systemd-resolved flushes the caches automatically anyway any time - the host's network configuration changes. + Upon reception of the SIGUSR2 process signal + systemd-resolved will flush all caches it maintains. Note that it should normally not be + necessary to request this explicitly – except for debugging purposes – as systemd-resolved + flushes the caches automatically anyway any time the host's network configuration changes. Sending this signal + to systemd-resolved is equivalent to the systemd-resolve --flush-caches + command, however the latter is recommended since it operates in a synchronous way. + + + + SIGRTMIN+1 + + Upon reception of the SIGRTMIN+1 process signal + systemd-resolved will forget everything it learnt about the configured DNS + servers. Specifically any information about server feature support is flushed out, and the server feature + probing logic is restarted on the next request, starting with the most fully featured level. Note that it + should normally not be necessary to request this explicitly – except for debugging purposes – as + systemd-resolved automatically forgets learnt information any time the DNS server + configuration changes. Sending this signal to systemd-resolved is equivalent to the + systemd-resolve --reset-server-features command, however the latter is recommended since it + operates in a synchronous way. + -- cgit v1.2.1