nixos/dns: Allow internal zone transfers
Permit AXFR from shared internal networks and cross-site egress addresses while retaining loopback and the existing secondary.
This commit is contained in:
@@ -114,8 +114,12 @@ in
|
|||||||
];
|
];
|
||||||
also-notify = [ "127.0.0.1" ];
|
also-notify = [ "127.0.0.1" ];
|
||||||
allow-axfr-ips = [
|
allow-axfr-ips = [
|
||||||
|
"127.0.0.0/8" "::1/128"
|
||||||
"216.218.133.2" "2001:470:600::2"
|
"216.218.133.2" "2001:470:600::2"
|
||||||
];
|
]
|
||||||
|
++ lib.my.c.home.routersPubV4
|
||||||
|
++ lib.my.c.as211024.trusted.v4
|
||||||
|
++ lib.my.c.as211024.trusted.v6;
|
||||||
enable-lua-records = true;
|
enable-lua-records = true;
|
||||||
#loglevel = 7;
|
#loglevel = 7;
|
||||||
#log-dns-queries = true;
|
#log-dns-queries = true;
|
||||||
|
|||||||
@@ -170,6 +170,12 @@ in
|
|||||||
"0.0.0.0:5353" "[::]:5353"
|
"0.0.0.0:5353" "[::]:5353"
|
||||||
];
|
];
|
||||||
also-notify = [ "127.0.0.1" ];
|
also-notify = [ "127.0.0.1" ];
|
||||||
|
allow-axfr-ips = [
|
||||||
|
"127.0.0.0/8" "::1/128"
|
||||||
|
allAssignments.estuary.internal.ipv4.address
|
||||||
|
]
|
||||||
|
++ lib.my.c.as211024.trusted.v4
|
||||||
|
++ lib.my.c.as211024.trusted.v6;
|
||||||
enable-lua-records = true;
|
enable-lua-records = true;
|
||||||
# loglevel = 7;
|
# loglevel = 7;
|
||||||
# log-dns-queries = true;
|
# log-dns-queries = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user