services.pdns-recursor.dns.allowFrom
NixOS option
IP address ranges of clients allowed to make DNS queries.
type: list of stringDefault
[ "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
declared in: nixos/modules/services/networking/pdns-recursor.nixView source on NixOS/nixpkgs →[ "0.0.0.0/0" "::/0" ]