ForwarderZone: updated QueryRecords() to allow calling base method for CatalogZone.

This commit is contained in:
Shreyas Zare
2024-12-21 15:35:24 +05:30
parent 4bbb7f5e2d
commit 736f2b8c92

View File

@@ -264,6 +264,9 @@ namespace DnsServerCore.Dns.Zones
public override IReadOnlyList<DnsResourceRecord> QueryRecords(DnsResourceRecordType type, bool dnssecOk)
{
if (this is CatalogZone)
return base.QueryRecords(type, dnssecOk);
if (type == DnsResourceRecordType.SOA)
return []; //forwarder zone is not authoritative and contains dummy SOA record