Change DNS resolver excepting for loopback needs

This commit is contained in:
coolneng 2023-12-05 10:32:35 +01:00
parent ea7dfca0db
commit 378916ed35
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 5 additions and 2 deletions

View File

@ -29,7 +29,7 @@ in {
matchConfig.Name = "end0";
address = [ "192.168.13.2/24" ];
gateway = [ "192.168.13.1" ];
dns = [ "192.168.13.2" ];
dns = [ "1.1.1.1" "9.9.9.9" ];
networkConfig.DNSSEC = "no";
};

View File

@ -187,7 +187,10 @@
# ACME certs configuration
security.acme = {
acceptTerms = true;
defaults.email = "akasroua@gmail.com";
defaults = {
email = "akasroua@disroot.org";
dnsResolver = "127.0.0.1:53";
};
};
# Generate dhparams