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-gperf.gperf | |
parent | a2c28c645160b4e9377db4cb40cb9f22141f2dd3 (diff) |
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-gperf.gperf')
-rw-r--r-- | src/resolve/resolved-gperf.gperf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resolve/resolved-gperf.gperf b/src/resolve/resolved-gperf.gperf index 82f26215df..2fd56bce26 100644 --- a/src/resolve/resolved-gperf.gperf +++ b/src/resolve/resolved-gperf.gperf @@ -19,3 +19,4 @@ Resolve.FallbackDNS, config_parse_dns_servers, DNS_SERVER_FALLBACK, 0 Resolve.Domains, config_parse_search_domains, 0, 0 Resolve.LLMNR, config_parse_resolve_support, 0, offsetof(Manager, llmnr_support) Resolve.DNSSEC, config_parse_dnssec_mode, 0, offsetof(Manager, dnssec_mode) +Resolve.Cache, config_parse_bool, 0, offsetof(Manager, enable_cache) |