lol

Merge pull request #153075 from mattchrist/bind-forward-only

authored by

Sandro and committed by
GitHub
ecebce40 2647d4a9

+9 -1
+9 -1
nixos/modules/services/networking/bind.nix
··· 59 59 listen-on-v6 { ${concatMapStrings (entry: " ${entry}; ") cfg.listenOnIpv6} }; 60 60 allow-query { cachenetworks; }; 61 61 blackhole { badnetworks; }; 62 - forward first; 62 + forward ${cfg.forward}; 63 63 forwarders { ${concatMapStrings (entry: " ${entry}; ") cfg.forwarders} }; 64 64 directory "${cfg.directory}"; 65 65 pid-file "/run/named/named.pid"; ··· 148 148 type = types.listOf types.str; 149 149 description = " 150 150 List of servers we should forward requests to. 151 + "; 152 + }; 153 + 154 + forward = mkOption { 155 + default = "first"; 156 + type = types.enum ["first" "only"]; 157 + description = " 158 + Whether to forward 'first' (try forwarding but lookup directly if forwarding fails) or 'only'. 151 159 "; 152 160 }; 153 161