mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2025-12-22 09:29:50 +00:00
ForwarderZone: updated QueryRecords() to allow calling base method for CatalogZone.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user