mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-01-02 23:05:57 +00:00
minor code refactoring done.
This commit is contained in:
@@ -118,7 +118,7 @@ namespace DnsServerCore.Dns.ZoneManagers
|
||||
|
||||
public bool AllowZone(string domain)
|
||||
{
|
||||
if (_zoneManager.CreatePrimaryZone(domain, _soaRecord, _nsRecord) != null)
|
||||
if (_zoneManager.InternalCreatePrimaryZone(domain, _soaRecord, _nsRecord) != null)
|
||||
{
|
||||
_totalZonesAllowed++;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user