From 14cbaffb830bf35caf2875a857df6c2fe8e2d957 Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sat, 27 Feb 2021 19:25:14 +0530 Subject: [PATCH] AuthZoneInfo: added app zone support. --- DnsServerCore/Dns/Zones/AuthZoneInfo.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/DnsServerCore/Dns/Zones/AuthZoneInfo.cs b/DnsServerCore/Dns/Zones/AuthZoneInfo.cs index 5eba4aee..1dff3368 100644 --- a/DnsServerCore/Dns/Zones/AuthZoneInfo.cs +++ b/DnsServerCore/Dns/Zones/AuthZoneInfo.cs @@ -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 @@ -32,7 +32,8 @@ namespace DnsServerCore.Dns.Zones Primary = 1, Secondary = 2, Stub = 3, - Forwarder = 4 + Forwarder = 4, + Application = 5 } public sealed class AuthZoneInfo : IComparable @@ -97,6 +98,8 @@ namespace DnsServerCore.Dns.Zones _type = AuthZoneType.Stub; else if (_zone is ForwarderZone) _type = AuthZoneType.Forwarder; + else if (_zone is ApplicationZone) + _type = AuthZoneType.Application; else _type = AuthZoneType.Unknown;