From 6791966d95e8c28d1f2ec84d5a9747792a9acf45 Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sun, 23 Jan 2022 17:35:07 +0530 Subject: [PATCH] removed unused methods. --- DnsServerCore/Dns/ZoneManagers/AllowedZoneManager.cs | 7 +------ DnsServerCore/Dns/ZoneManagers/BlockedZoneManager.cs | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/DnsServerCore/Dns/ZoneManagers/AllowedZoneManager.cs b/DnsServerCore/Dns/ZoneManagers/AllowedZoneManager.cs index 5ae4f4e9..790c1e25 100644 --- a/DnsServerCore/Dns/ZoneManagers/AllowedZoneManager.cs +++ b/DnsServerCore/Dns/ZoneManagers/AllowedZoneManager.cs @@ -1,6 +1,6 @@ /* Technitium DNS Server -Copyright (C) 2021 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 @@ -147,11 +147,6 @@ namespace DnsServerCore.Dns.ZoneManagers _zoneManager.ListSubDomains(domain, subDomains); } - public IReadOnlyList QueryRecords(string domain, DnsResourceRecordType type) - { - return _zoneManager.QueryRecords(domain, type); - } - public void SaveZoneFile() { List allowedZones = _dnsServer.AllowedZoneManager.ListZones(); diff --git a/DnsServerCore/Dns/ZoneManagers/BlockedZoneManager.cs b/DnsServerCore/Dns/ZoneManagers/BlockedZoneManager.cs index 46be7912..7c9bd508 100644 --- a/DnsServerCore/Dns/ZoneManagers/BlockedZoneManager.cs +++ b/DnsServerCore/Dns/ZoneManagers/BlockedZoneManager.cs @@ -1,6 +1,6 @@ /* Technitium DNS Server -Copyright (C) 2021 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 @@ -165,11 +165,6 @@ namespace DnsServerCore.Dns.ZoneManagers _zoneManager.ListSubDomains(domain, subDomains); } - public IReadOnlyList QueryRecords(string domain, DnsResourceRecordType type) - { - return _zoneManager.QueryRecords(domain, type); - } - public void SaveZoneFile() { List blockedZones = _dnsServer.BlockedZoneManager.ListZones();