diff options
author | Jorge Niedbalski <jnr@metaklass.org> | 2019-07-12 15:34:24 -0400 |
---|---|---|
committer | Jorge Niedbalski <jnr@metaklass.org> | 2019-07-17 10:42:53 -0400 |
commit | 37d7a7d984ec7679711c2d31789f033f3b6dc2c2 (patch) | |
tree | f4fb302ef3b0aa7d51e2e50e4ec4cc6444b53231 /NEWS | |
parent | 81c07a955590b44fe2b1f21780df353c0d8b62f6 (diff) | |
download | systemd-37d7a7d984ec7679711c2d31789f033f3b6dc2c2.tar.gz |
resolved: switch cache option to a tri-state option (systemd#5552).
Change the resolved.conf Cache option to a tri-state "no, no-negative, yes" values.
If a lookup returns SERVFAIL systemd-resolved will cache the result for 30s (See 201d995),
however, there are several use cases on which this condition is not acceptable (See systemd#5552 comments)
and the only workaround would be to disable cache entirely or flush it , which isn't optimal.
This change adds the 'no-negative' option when set it avoids putting in cache
negative answers but still works the same heuristics for positive answers.
Signed-off-by: Jorge Niedbalski <jnr@metaklass.org>
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -178,6 +178,13 @@ CHANGES WITH 243 in spe: * systemd-resolved gained support for a new 'strict' DNS-over-TLS mode. + * systemd-resolved "Cache=" configuration option in resolved.conf has been extended + to also accept the 'no-negative' value. Previously, + only a boolean option was allowed (yes/no), having yes as the default. + If this option is set to 'no-negative', negative answers are skipped + from being cached while keeping the same cache heuristics for positive answers. + The default remains as "yes" (i. e. caching is enabled). + * The predictable naming scheme for network devices now supports generating predictable names for "netdevsim" devices. |