1
0
Fork 0

pre-router: use internal nameserver

This commit is contained in:
clerie 2022-07-17 13:52:49 +02:00
parent 7ed6752ba1
commit 85d1c14561
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
}
{
name = "domain-name-servers";
data = "10.42.10.1";
data = "10.42.10.8";
}
{
name = "domain-name";

View File

@ -9,7 +9,7 @@
networking.firewall.interfaces.ens19.allowedUDPPorts = [ 67 53 ];
networking = {
nameservers = [ "141.24.40.3" "141.24.40.4" ];
nameservers = [ "10.42.10.8" "2a01:4f8:1c0c:8221::8" ];
nat = {
enable = true;
extraCommands = "iptables -A INPUT -p icmp -j ACCEPT";