Zone transfers should honour -4 and -6 options

Check if the address family has been disabled when transferring
zones.
This commit is contained in:
Mark Andrews
2024-06-03 18:34:31 +10:00
parent 9be1873ef3
commit ecdde04e63
+4
View File
@@ -14150,6 +14150,10 @@ again:
curraddr = dns_remote_curraddr(&zone->primaries);
isc_netaddr_fromsockaddr(&primaryip, &curraddr);
if (isc_sockaddr_disabled(&curraddr)) {
goto skip_primary;
}
/*
* First, look for a tsig key in the primaries statement, then
* try for a server key.