Skip to content

Pdns recursor

services.pdns-recursor.api.address

IP address Recursor REST API server will bind to.

Type: string

Default

"0.0.0.0"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/pdns-recursor.nix

services.pdns-recursor.api.allowFrom

IP address ranges of clients allowed to make API requests.

Type: list of string

Default

["127.0.0.1""::1"]

Example

["0.0.0.0/0""::/0"]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/pdns-recursor.nix

services.pdns-recursor.api.port

Port number Recursor REST API server will bind to.

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

8082

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/pdns-recursor.nix

services.pdns-recursor.dns.address

IP addresses Recursor DNS server will bind to.

Type: string or list of string

Default

["::""0.0.0.0"]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/pdns-recursor.nix

services.pdns-recursor.dns.allowFrom

IP address ranges of clients allowed to make DNS queries.

Type: list of string

Default

["127.0.0.0/8""10.0.0.0/8""100.64.0.0/10""169.254.0.0/16""192.168.0.0/16""172.16.0.0/12""::1/128""fc00::/7""fe80::/10"]

Example

["0.0.0.0/0""::/0"]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/pdns-recursor.nix

services.pdns-recursor.dns.port

Port number Recursor DNS server will bind to.

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

53

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/pdns-recursor.nix

services.pdns-recursor.dnssecValidation

Controls the level of DNSSEC processing done by the PowerDNS Recursor. See https://doc.powerdns.com/md/recursor/dnssec/ for a detailed explanation.

Type: one of "off", "process-no-validate", "process", "log-fail", "validate"

Default

"validate"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/pdns-recursor.nix

services.pdns-recursor.enable

Whether to enable PowerDNS Recursor, a recursive DNS server. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/pdns-recursor.nix

services.pdns-recursor.exportHosts

Whether to export names and IP addresses defined in /etc/hosts.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/pdns-recursor.nix

services.pdns-recursor.forwardZones

DNS zones to be forwarded to other authoritative servers.

Type: attribute set

Default

{ }

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/pdns-recursor.nix

services.pdns-recursor.forwardZonesRecurse

DNS zones to be forwarded to other recursive servers.

Type: attribute set

Default

{ }

Example

{eth = "[::1]:5353";}

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/pdns-recursor.nix

services.pdns-recursor.luaConfig

The content Lua configuration file for PowerDNS Recursor. See https://doc.powerdns.com/recursor/lua-config/index.html.

Type: strings concatenated with "\n"

Default

""

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/pdns-recursor.nix

services.pdns-recursor.resolveNamecoin

Resolve .bit top-level domains using ncdns and namecoin.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/ncdns.nix

services.pdns-recursor.serveRFC1918

Whether to directly resolve the RFC1918 reverse-mapping domains: 10.in-addr.arpa, 168.192.in-addr.arpa, 16-31.172.in-addr.arpa This saves load on the AS112 servers.

Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/pdns-recursor.nix

services.pdns-recursor.settings

PowerDNS Recursor settings. Use this option to configure Recursor settings not exposed in a NixOS option or to bypass one. See the full documentation at https://doc.powerdns.com/recursor/settings.html for the available options.

Type: attribute set of (null or signed integer or string or boolean or path or list of (signed integer or string or boolean or path))

Default

{ }

Example

{loglevel = 8;log-common-errors = true;}

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/pdns-recursor.nix