Change DNS resolver excepting for loopback needs
This commit is contained in:
parent
ea7dfca0db
commit
378916ed35
|
@ -29,7 +29,7 @@ in {
|
||||||
matchConfig.Name = "end0";
|
matchConfig.Name = "end0";
|
||||||
address = [ "192.168.13.2/24" ];
|
address = [ "192.168.13.2/24" ];
|
||||||
gateway = [ "192.168.13.1" ];
|
gateway = [ "192.168.13.1" ];
|
||||||
dns = [ "192.168.13.2" ];
|
dns = [ "1.1.1.1" "9.9.9.9" ];
|
||||||
networkConfig.DNSSEC = "no";
|
networkConfig.DNSSEC = "no";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -187,7 +187,10 @@
|
||||||
# ACME certs configuration
|
# ACME certs configuration
|
||||||
security.acme = {
|
security.acme = {
|
||||||
acceptTerms = true;
|
acceptTerms = true;
|
||||||
defaults.email = "akasroua@gmail.com";
|
defaults = {
|
||||||
|
email = "akasroua@disroot.org";
|
||||||
|
dnsResolver = "127.0.0.1:53";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Generate dhparams
|
# Generate dhparams
|
||||||
|
|
Loading…
Reference in New Issue