mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-01-07 17:24:02 +00:00
WebServiceZonesApi: minor refactoring changes.
This commit is contained in:
@@ -953,7 +953,7 @@ namespace DnsServerCore
|
||||
|
||||
if (IPAddress.TryParse(zoneName, out IPAddress ipAddress))
|
||||
{
|
||||
zoneName = new DnsQuestionRecord(ipAddress, DnsClass.IN).Name.ToLower();
|
||||
zoneName = ipAddress.GetReverseDomain().ToLower();
|
||||
}
|
||||
else if (zoneName.Contains('/'))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user