resolved: add option to disable caching (#3592)

System Internals / systemd - Martin Pitt [ubuntu.com] - 24 June 2016 00:54 UTC

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.

ceeddf7 resolved: add option to disable caching (#3592)
NEWS | 8 ++++++++
man/resolved.conf.xml | 17 +++++++++++++++++
src/resolve/resolved-dns-transaction.c | 4 ++++
src/resolve/resolved-gperf.gperf | 1 +
src/resolve/resolved-manager.c | 1 +
src/resolve/resolved-manager.h | 1 +
src/resolve/resolved.conf.in | 1 +
7 files changed, 33 insertions(+)

Upstream: github.com


  • Share