Static nameservers have precedence
This commit is contained in:
parent
7d2ec75ae7
commit
7427639b84
@ -277,7 +277,7 @@ in
|
||||
script =
|
||||
''
|
||||
# Set the static DNS configuration, if given.
|
||||
cat | ${pkgs.openresolv}/sbin/resolvconf -a static <<EOF
|
||||
cat | ${pkgs.openresolv}/sbin/resolvconf -m -1 -a static <<EOF
|
||||
${optionalString (cfg.nameservers != [] && cfg.domain != "") ''
|
||||
domain ${cfg.domain}
|
||||
''}
|
||||
|
Loading…
Reference in New Issue
Block a user