using System;
using Netch.Utils;
namespace Netch.Controllers
{
public class DNSController : Controller
{
public DNSController()
{
Name = "DNS Service";
MainFile = "unbound.exe";
RedirectStd = false;
}
///
/// 启动DNS服务
///
///
public bool Start()
{
return StartInstanceAuto("-c unbound-service.conf -v");
}
public override void Stop()
{
StopInstance();
}
}
}