mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2025-12-22 09:29:50 +00:00
CatalogZone: updated QueryRecords() to allow querying for SOA record so that it works with bind.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user