sj-vps-htz0,containers/dns: remove IPv6, opportunistic TLS

This commit is contained in:
steveej 2023-11-25 09:19:31 +01:00
parent d86fdd61c9
commit f5882396e3
3 changed files with 26 additions and 24 deletions

View file

@ -0,0 +1,21 @@
{
networking.nameservers = [
# https://dnsforge.de/
"176.9.93.198"
"176.9.1.117"
# TODO: enable IPv6
# "2a01:4f8:151:34aa::198"
# "2a01:4f8:141:316d::117"
];
services.resolved = {
enable = true;
dnssec = "true";
domains = ["~."];
extraConfig = ''
# TODO: figure out why "true" doesn't work
DNSOverTLS=opportunistic
'';
};
}