mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-22 06:19:11 +00:00
hosts/plover: cleanup Bind configuration
This commit is contained in:
parent
05895e11fa
commit
fbce914870
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user