diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2016-06-24 07:54:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-24 07:54:28 +0200 |
commit | ceeddf79b8464469a5307a1030862c7c4fe289e9 (patch) | |
tree | 4ad0a49ca457e8e53789c3aea41c6284ab3ff277 /src/resolve/resolved-manager.h | |
parent | Merge pull request #3549 from poettering/resolved-more (diff) | |
download | systemd-ceeddf79b8464469a5307a1030862c7c4fe289e9.tar.xz systemd-ceeddf79b8464469a5307a1030862c7c4fe289e9.zip |
resolved: add option to disable caching (#3592)
In some cases, caching DNS results locally is not desirable, a it makes DNS
cache poisoning attacks a tad easier and also allows users on the system to
determine whether or not a particular domain got visited by another user. Thus
provide a new "Cache" resolved.conf option to disable it.
Diffstat (limited to 'src/resolve/resolved-manager.h')
-rw-r--r-- | src/resolve/resolved-manager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resolve/resolved-manager.h b/src/resolve/resolved-manager.h index 114fec7927..deebd8e484 100644 --- a/src/resolve/resolved-manager.h +++ b/src/resolve/resolved-manager.h @@ -46,6 +46,7 @@ struct Manager { ResolveSupport llmnr_support; ResolveSupport mdns_support; DnssecMode dnssec_mode; + bool enable_cache; /* Network */ Hashmap *links; |