services.unbound.settings
Declarative Unbound configuration See the unbound.conf(5) manpage for a list of available options.
- Type
open submodule of unbound.conf configuration type. The format consist of an attribute set of settings. Each settings can be either one value, a list of values or an attribute set. The allowed values are integers, strings, booleans or floats.- Default
{ }- Example
{ server = { interface = [ "127.0.0.1" ]; }; forward-zone = [ { name = "."; forward-addr = "1.1.1.1@853#cloudflare-dns.com"; } { name = "example.org."; forward-addr = [ "1.1.1.1@853#cloudflare-dns.com" "1.0.0.1@853#cloudflare-dns.com" ]; } ]; remote-control.control-enable = true; };- Declared
- <nixpkgs/nixos/modules/services/networking/unbound.nix>