CatalogZone: updated QueryRecords() to allow querying for SOA record so that it works with bind.

This commit is contained in:
Shreyas Zare
2024-12-21 15:34:10 +05:30
parent 42c6497864
commit 4bbb7f5e2d

View File

@@ -379,6 +379,9 @@ namespace DnsServerCore.Dns.Zones
public override IReadOnlyList<DnsResourceRecord> QueryRecords(DnsResourceRecordType type, bool dnssecOk)
{
if (type == DnsResourceRecordType.SOA)
return base.QueryRecords(type, dnssecOk); //allow SOA for zone transfer to work with bind
return []; //catalog zone is not queriable
}