mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-04-25 22:14:19 +00:00
minor refactoring.
This commit is contained in:
@@ -118,7 +118,7 @@ namespace DnsServerCore.Dns.ZoneManagers
|
||||
|
||||
public bool AllowZone(string domain)
|
||||
{
|
||||
if (_zoneManager.CreateInternalPrimaryZone(domain, _soaRecord, _nsRecord) != null)
|
||||
if (_zoneManager.CreateSpecialPrimaryZone(domain, _soaRecord, _nsRecord) != null)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
||||
@@ -136,7 +136,7 @@ namespace DnsServerCore.Dns.ZoneManagers
|
||||
|
||||
public bool BlockZone(string domain)
|
||||
{
|
||||
if (_zoneManager.CreateInternalPrimaryZone(domain, _soaRecord, _nsRecord) != null)
|
||||
if (_zoneManager.CreateSpecialPrimaryZone(domain, _soaRecord, _nsRecord) != null)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user