nixos/resolvconf: add option "trust-ad" when useLocalResolver
is enabled
This commit is contained in:
parent
62748bdf42
commit
beb139496a
1 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,8 @@ let
|
|||
|
||||
resolvconfOptions = cfg.extraOptions
|
||||
++ optional cfg.dnsSingleRequest "single-request"
|
||||
++ optional cfg.dnsExtensionMechanism "edns0";
|
||||
++ optional cfg.dnsExtensionMechanism "edns0"
|
||||
++ optional cfg.useLocalResolver "trust-ad";
|
||||
|
||||
configText =
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue