nixos/resolvconf: add option "trust-ad" when useLocalResolver is enabled

This commit is contained in:
Schweber 2024-03-17 07:52:00 +00:00 committed by GitHub
parent 62748bdf42
commit beb139496a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 =
''