nixos/resolvconf: add option "trust-ad" when useLocalResolver
is enabled
This commit is contained in:
parent
62748bdf42
commit
beb139496a
@ -10,7 +10,8 @@ let
|
|||||||
|
|
||||||
resolvconfOptions = cfg.extraOptions
|
resolvconfOptions = cfg.extraOptions
|
||||||
++ optional cfg.dnsSingleRequest "single-request"
|
++ optional cfg.dnsSingleRequest "single-request"
|
||||||
++ optional cfg.dnsExtensionMechanism "edns0";
|
++ optional cfg.dnsExtensionMechanism "edns0"
|
||||||
|
++ optional cfg.useLocalResolver "trust-ad";
|
||||||
|
|
||||||
configText =
|
configText =
|
||||||
''
|
''
|
||||||
|
Loading…
Reference in New Issue
Block a user