hosts/carbon: Move DNS specific network config to DNS file
This commit is contained in:
@@ -2,6 +2,14 @@
|
||||
|
||||
{
|
||||
|
||||
# Loopbacks for DNS resolver IPs
|
||||
networking.interfaces.lo.ipv6.addresses = [
|
||||
{ address = "fd00:152:152::1"; prefixLength = 128; } # Anycast
|
||||
];
|
||||
networking.interfaces.lo.ipv4.addresses = [
|
||||
{ address = "10.152.0.1"; prefixLength = 32; } # Anycast
|
||||
];
|
||||
|
||||
networking.firewall.allowedUDPPorts = [ 53 ];
|
||||
networking.firewall.allowedTCPPorts = [ 53 ];
|
||||
|
||||
@@ -20,4 +28,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
# Use Anycast Nameservers
|
||||
networking.nameservers = [ "fd00:152:152::1" "10.152.0.1" ];
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user