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();