Home: Use local dns first.
This commit is contained in:
parent
8a452f08cc
commit
dec573425f
|
@ -31,6 +31,11 @@ in
|
||||||
"10-${wan}" = {
|
"10-${wan}" = {
|
||||||
matchConfig.Name = wan;
|
matchConfig.Name = wan;
|
||||||
linkConfig.RequiredForOnline = "carrier";
|
linkConfig.RequiredForOnline = "carrier";
|
||||||
|
dns = [
|
||||||
|
"::1"
|
||||||
|
"1.1.1.1"
|
||||||
|
"8.8.8.8"
|
||||||
|
];
|
||||||
dhcpV4Config = {
|
dhcpV4Config = {
|
||||||
ClientIdentifier = "mac";
|
ClientIdentifier = "mac";
|
||||||
UseDNS = false;
|
UseDNS = false;
|
||||||
|
@ -45,7 +50,6 @@ in
|
||||||
};
|
};
|
||||||
networkConfig = {
|
networkConfig = {
|
||||||
DHCP = "yes";
|
DHCP = "yes";
|
||||||
DNS = "1.1.1.1";
|
|
||||||
IPv6AcceptRA = true;
|
IPv6AcceptRA = true;
|
||||||
IPv6SendRA = false;
|
IPv6SendRA = false;
|
||||||
DHCPPrefixDelegation = true;
|
DHCPPrefixDelegation = true;
|
||||||
|
|
Loading…
Reference in a new issue