mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2025-12-22 09:29:50 +00:00
DnsServerApp: added service info for users.
This commit is contained in:
@@ -35,6 +35,10 @@ namespace DnsServerApp
|
|||||||
|
|
||||||
service.Start();
|
service.Start();
|
||||||
Console.WriteLine("Technitium DNS Server was started successfully.");
|
Console.WriteLine("Technitium DNS Server was started successfully.");
|
||||||
|
Console.WriteLine("Using config folder: " + service.ConfigFolder);
|
||||||
|
Console.WriteLine("");
|
||||||
|
Console.WriteLine("Note: Open http://localhost:" + service.WebServicePort + " in web browser to access web console.");
|
||||||
|
Console.WriteLine("");
|
||||||
Console.WriteLine("Press ENTER key to stop...");
|
Console.WriteLine("Press ENTER key to stop...");
|
||||||
Console.ReadLine();
|
Console.ReadLine();
|
||||||
|
|
||||||
|
|||||||
@@ -1392,6 +1392,19 @@ namespace DnsServerCore
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region properties
|
||||||
|
|
||||||
|
public string ConfigFolder
|
||||||
|
{ get { return _configFolder; } }
|
||||||
|
|
||||||
|
public string ServerDomain
|
||||||
|
{ get { return _serverDomain; } }
|
||||||
|
|
||||||
|
public int WebServicePort
|
||||||
|
{ get { return _webServicePort; } }
|
||||||
|
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
|
|
||||||
public class UserSession
|
public class UserSession
|
||||||
|
|||||||
Reference in New Issue
Block a user