MyNixOS website logo
option

services.pdns-recursor.dns.allowFrom

IP address ranges of clients allowed to make DNS queries.

Declarations
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"
]