Unbound: Difference between revisions

J7 (talk | contribs)
m forward-tls-upstream = true; # Protected DNS
J8 (talk | contribs)
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 ==