reconfigure dns

This commit is contained in:
Adithya 2023-11-22 12:23:52 +05:30
parent 3d49dc3b70
commit 91e02014a0
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -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=~.
'';
};
} }