Unbound: Difference between revisions
m forward-tls-upstream = true; # Protected DNS |
m add minimal configuration |
||
| Line 2: | Line 2: | ||
Unbound is a validating, recursive, caching DNS resolver. It is designed to be fast and lean and incorporates modern features based on open standards. | Unbound is a validating, recursive, caching DNS resolver. It is designed to be fast and lean and incorporates modern features based on open standards. | ||
== Minimal configuration == | |||
<syntaxhighlight lang="nixos"> | |||
services.unbound = { | |||
enable = true; | |||
settings.server.qname-minimisation = true; # optional | |||
}; | |||
</syntaxhighlight> | |||
Test if it's working | |||
<syntaxhighlight> | |||
$ systemctl status unbound.service | |||
$ nslookup nixos.org localhost | |||
</syntaxhighlight> | |||
== Example configuration == | == Example configuration == | ||