mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2025-12-28 04:18:37 +00:00
minor refactoring done.
This commit is contained in:
@@ -17,12 +17,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
*/
|
||||
|
||||
using DnsServerCore.Dns.Zones;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
using TechnitiumLibrary.Net.Dns.ResourceRecords;
|
||||
|
||||
namespace DnsServerCore.Dns.Zones
|
||||
namespace DnsServerCore.Dns.Trees
|
||||
{
|
||||
class AuthZoneNode : IDisposable
|
||||
{
|
||||
@@ -17,12 +17,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
*/
|
||||
|
||||
using DnsServerCore.Dns.Zones;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
using TechnitiumLibrary.Net.Dns.ResourceRecords;
|
||||
|
||||
namespace DnsServerCore.Dns.Zones
|
||||
namespace DnsServerCore.Dns.Trees
|
||||
{
|
||||
class AuthZoneTree : ZoneTree<AuthZoneNode, SubDomainZone, ApexZone>
|
||||
{
|
||||
@@ -17,9 +17,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
*/
|
||||
|
||||
using DnsServerCore.Dns.Zones;
|
||||
using System;
|
||||
|
||||
namespace DnsServerCore.Dns.Zones
|
||||
namespace DnsServerCore.Dns.Trees
|
||||
{
|
||||
class CacheZoneTree : ZoneTree<CacheZone, CacheZone, CacheZone>
|
||||
{
|
||||
@@ -21,7 +21,7 @@ using System;
|
||||
using System.Text;
|
||||
using TechnitiumLibrary.ByteTree;
|
||||
|
||||
namespace DnsServerCore.Dns.Zones
|
||||
namespace DnsServerCore.Dns.Trees
|
||||
{
|
||||
class DomainTree<T> : ByteTree<string, T> where T : class
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
Technitium DNS Server
|
||||
Copyright (C) 2020 Shreyas Zare (shreyas@technitium.com)
|
||||
Copyright (C) 2022 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
|
||||
@@ -19,7 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
using System;
|
||||
|
||||
namespace DnsServerCore.Dns.Zones
|
||||
namespace DnsServerCore.Dns.Trees
|
||||
{
|
||||
public class InvalidDomainNameException : DnsServerException
|
||||
{
|
||||
@@ -17,11 +17,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
*/
|
||||
|
||||
using DnsServerCore.Dns.Zones;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
|
||||
namespace DnsServerCore.Dns.Zones
|
||||
namespace DnsServerCore.Dns.Trees
|
||||
{
|
||||
abstract class ZoneTree<TNode, TSubDomainZone, TApexZone> : DomainTree<TNode> where TNode : class where TSubDomainZone : Zone where TApexZone : Zone
|
||||
{
|
||||
Reference in New Issue
Block a user