AuthZone: added app zone support.

This commit is contained in:
Shreyas Zare
2021-02-27 19:24:43 +05:30
parent 21263a883f
commit 20ccce2093

View File

@@ -1,6 +1,6 @@
/*
Technitium DNS Server
Copyright (C) 2020 Shreyas Zare (shreyas@technitium.com)
Copyright (C) 2021 Shreyas Zare (shreyas@technitium.com)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -243,9 +243,9 @@ namespace DnsServerCore.Dns.Zones
}
//set new entries into zone
if (this is ForwarderZone)
if ((this is ForwarderZone) || (this is ApplicationZone))
{
//skip NS and SOA records from being added to ForwarderZone
//skip NS and SOA records from being added to ForwarderZone or ApplicationZone
foreach (KeyValuePair<DnsResourceRecordType, List<DnsResourceRecord>> newEntry in newEntries)
{
switch (newEntry.Key)