reconfigure dns
This commit is contained in:
parent
3d49dc3b70
commit
91e02014a0
1 changed files with 17 additions and 1 deletions
|
@ -3,6 +3,13 @@
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "Skipper";
|
hostName = "Skipper";
|
||||||
|
|
||||||
|
extraHosts = ''
|
||||||
|
10.8.1.1 proxy
|
||||||
|
10.8.1.2 skipper
|
||||||
|
10.8.1.3 rico1
|
||||||
|
10.8.1.4 rico2
|
||||||
|
'';
|
||||||
|
|
||||||
networkmanager = {
|
networkmanager = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dns = "systemd-resolved";
|
dns = "systemd-resolved";
|
||||||
|
@ -28,5 +35,14 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.resolved.enable = true;
|
services.resolved = {
|
||||||
|
enable = true;
|
||||||
|
dnssec = "allow-downgrade";
|
||||||
|
extraConfig = ''
|
||||||
|
[Resolve]
|
||||||
|
DNS=9.9.9.11#dns11.quad9.net 2620:fe::11#dns11.quad9.net 149.112.112.11#dns11.quad9.net 2620:fe::fe:11#dns11.quad9.net
|
||||||
|
DNSOverTLS=yes
|
||||||
|
Domains=~.
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue