ubuntu:networking:dns:configure_dns_cache
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
ubuntu:networking:dns:configure_dns_cache [2021/01/13 11:40] – peter | ubuntu:networking:dns:configure_dns_cache [2021/01/13 11:41] (current) – peter | ||
---|---|---|---|
Line 47: | Line 47: | ||
---- | ---- | ||
- | |||
- | ===== Using multiple resolvers ===== | ||
- | |||
- | <file bash / | ||
- | [Resolve] | ||
- | # Use Quad9.net DNS, and Cloudflare DNS. | ||
- | # Both supports DNS over TLS and DNSSEC, | ||
- | # and promises not to log DNS queries. | ||
- | DNS=2620: | ||
- | 2606: | ||
- | FallbackDNS=2620: | ||
- | 2606: | ||
- | # Attempt to use DNS over TLS. | ||
- | DNSOverTLS=opportunistic | ||
- | # Enforce DNSSEC validation. | ||
- | DNSSEC=true | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Restart the systemd-resolved service ===== | ||
- | |||
- | <code bash> | ||
- | sudo systemctl restart systemd-resolved.service | ||
- | </ | ||
- | |||
ubuntu/networking/dns/configure_dns_cache.1610538057.txt.gz · Last modified: 2021/01/13 11:40 by peter