hosts/plover: cleanup Bind configuration

This commit is contained in:
Gabriel Arazas 2023-09-19 23:45:30 +08:00
parent 05895e11fa
commit fbce914870
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -28,26 +28,6 @@ let
zonesDir = "/etc/bind/zones";
zoneFile = domain: "${zonesDir}/${domain}.zone";
localhostIP = [
"127.0.0.1"
"::1"
];
allowedLANIPs = [
# Loopback address
"127.0.0.0/8"
# Private uses
"10.48.0.0/12"
"172.27.0.0/16" # The private subnet for our internal network.
"172.28.0.0/16" # The Wireguard subnet.
];
allowedLANIPv6s = [
"::1" # Loopback
"${privateIPv6Prefix}::/48" # Private uses
];
dnsSubdomain = "ns1.${domain}";
in
{