From 736f2b8c92f5a32b6b7602a3ab962c47c51a92ab Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sat, 21 Dec 2024 15:35:24 +0530 Subject: [PATCH] ForwarderZone: updated QueryRecords() to allow calling base method for CatalogZone. --- DnsServerCore/Dns/Zones/ForwarderZone.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DnsServerCore/Dns/Zones/ForwarderZone.cs b/DnsServerCore/Dns/Zones/ForwarderZone.cs index ec1bbc5a..5db6ae6f 100644 --- a/DnsServerCore/Dns/Zones/ForwarderZone.cs +++ b/DnsServerCore/Dns/Zones/ForwarderZone.cs @@ -264,6 +264,9 @@ namespace DnsServerCore.Dns.Zones public override IReadOnlyList 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