nixos/pdns-recursor: configure as local resolver
When pdns-recursor is enabled it should ideally be the default resolver for the host as well. This is probably good for 95% of the use-cases out there, and the default for unbound and kresd, but also bind and dnsmasq.
This commit is contained in:
parent
c21a866d0b
commit
ac4ce03274
@ -252,6 +252,8 @@ in
|
||||
|
||||
environment.etc."/pdns-recursor/recursor.yml".source = configFile;
|
||||
|
||||
networking.resolvconf.useLocalResolver = lib.mkDefault true;
|
||||
|
||||
services.pdns-recursor.yaml-settings = {
|
||||
incoming = mkDefaultAttrs {
|
||||
listen = cfg.dns.address;
|
||||
|
Loading…
x
Reference in New Issue
Block a user