Home: Use local dns first.

This commit is contained in:
Dmitry Voronin 2024-12-24 01:53:14 +03:00
parent 8a452f08cc
commit dec573425f
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -31,6 +31,11 @@ in
"10-${wan}" = {
matchConfig.Name = wan;
linkConfig.RequiredForOnline = "carrier";
dns = [
"::1"
"1.1.1.1"
"8.8.8.8"
];
dhcpV4Config = {
ClientIdentifier = "mac";
UseDNS = false;
@ -45,7 +50,6 @@ in
};
networkConfig = {
DHCP = "yes";
DNS = "1.1.1.1";
IPv6AcceptRA = true;
IPv6SendRA = false;
DHCPPrefixDelegation = true;