Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| systemd-resolve-daemon [2026-04-16T15:09:41Z] – created joestr1 | systemd-resolve-daemon [2026-04-16T15:41:47Z] (current) – joestr1 | ||
|---|---|---|---|
| Line 19: | Line 19: | ||
| The section '' | The section '' | ||
| + | Now we configure our resolver for eth0: | ||
| + | # Fill with public resolvers (Tier 2 server) or 127.0.0.1 and ::1 if your machine is a resolver itself | ||
| + | resolvectl dns eth0 <OpenNIC Resolver IP address> [< | ||
| + | resolvectl dnssec eth0 yes | ||
| + | resolvectl dnsovertls eth0 yes | ||
| + | resolvectl domain eth0 "" | ||
| + | |||
| + | For DNSSEC to work we have to give systemd a little help, since the root zone is not signed with IANA keys. | ||
| + | |||
| + | mkdir -p / | ||
| + | | ||
| + | Get the DNSKEY for the " | ||
| + | |||
| + | dig DNSKEY . @127.0.0.1 +noall +answer | ||
| + | | ||
| + | Now we have to input those key into a new file: | ||
| + | |||
| + | touch / | ||
| + | | ||
| + | Insert the queries DNSKEYs into this file. | ||
| + | |||
| + | After that remove the TTL (Time-To-Live) value between '' | ||
| + | |||
| + | After this, we can resolve a query with DNSSEC and DoT: | ||
| + | |||
| + | root@korridor: | ||
| + | cloudflare.com: | ||
| + | 104.16.133.229 | ||
| + | 2606: | ||
| + | 2606: | ||
| + | | ||
| + | -- Information acquired via protocol DNS in 3.3ms. | ||
| + | -- Data is authenticated: | ||
| + | -- Data from: network | ||