setup dns on rico* hosts

This commit is contained in:
Adithya 2024-01-04 21:51:15 +05:30
parent feaa30daf5
commit 8cd6d3f771
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
3 changed files with 30 additions and 3 deletions

View file

@ -28,5 +28,14 @@
};
};
services.resolved.enable = true;
services.resolved = {
enable = true;
extraConfig = ''
[Resolve]
DNS=2620:fe::fe#dns.quad9.net 9.9.9.9#dns.quad9.net 2620:fe::9#dns.quad9.net 149.112.112.112#dns.quad9.net
FallbackDNS=
DNSOverTLS=opportunistic
Domains=~.
'';
};
}

View file

@ -28,5 +28,14 @@
};
};
services.resolved.enable = true;
services.resolved = {
enable = true;
extraConfig = ''
[Resolve]
DNS=2620:fe::fe#dns.quad9.net 9.9.9.9#dns.quad9.net 2620:fe::9#dns.quad9.net 149.112.112.112#dns.quad9.net
FallbackDNS=
DNSOverTLS=opportunistic
Domains=~.
'';
};
}

View file

@ -28,5 +28,14 @@
};
};
services.resolved.enable = true;
services.resolved = {
enable = true;
extraConfig = ''
[Resolve]
DNS=2620:fe::fe#dns.quad9.net 9.9.9.9#dns.quad9.net 2620:fe::9#dns.quad9.net 149.112.112.112#dns.quad9.net
FallbackDNS=
DNSOverTLS=opportunistic
Domains=~.
'';
};
}