nixos/resolvconf: add ::1
as local dns resolver
This commit is contained in:
parent
a0dbdc8e1d
commit
fc060cc3cb
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,8 @@ let
|
|||
'' + optionalString cfg.useLocalResolver ''
|
||||
# This hosts runs a full-blown DNS resolver.
|
||||
name_servers='127.0.0.1'
|
||||
'' + optionalString (cfg.useLocalResolver && config.networking.enableIPv6) ''
|
||||
name_servers='::1'
|
||||
'' + cfg.extraConfig;
|
||||
|
||||
in
|
||||
|
|
Loading…
Reference in a new issue