fix DNS servers for IPV6

This commit is contained in:
nyanloutre 2023-09-15 15:57:00 +02:00
parent 55d8e55d3e
commit c26b1d8988
1 changed files with 12 additions and 5 deletions

View File

@ -119,16 +119,23 @@
DUIDRawData = "00:03:00:01:E8:AD:A6:21:73:68";
WithoutRA = "solicit";
};
ipv6AcceptRAConfig.DHCPv6Client = "yes";
ipv6AcceptRAConfig.DHCPv6Client = true;
networkConfig = {
KeepConfiguration = "dhcp-on-stop";
IPv6AcceptRA = "yes";
IPv6AcceptRA = true;
};
};
"40-eno2" = {
networkConfig = {
IPv6SendRA = "yes";
DHCPPrefixDelegation = "yes";
IPv6SendRA = true;
DHCPPrefixDelegation = true;
};
ipv6SendRAConfig = {
EmitDNS = true;
DNS = [
"2606:4700:4700::1111"
"2606:4700:4700::1001"
];
};
};
"40-enp0s21u2".dhcpV4Config.RouteMetric = 1024;
@ -148,7 +155,7 @@
{ ethernetAddress = "50:02:91:78:be:be"; hostName = "guirlande"; ipAddress = "10.30.40.3"; }
];
extraConfig = ''
option domain-name-servers 89.234.141.66, 80.67.169.12, 80.67.169.40;
option domain-name-servers 1.1.1.1, 1.0.0.1;
option subnet-mask 255.255.0.0;
subnet 10.30.0.0 netmask 255.255.0.0 {
option routers 10.30.0.1;