Add files via upload

This commit is contained in:
Netch
2021-07-10 14:16:34 +08:00
parent e812edef95
commit 0634e5718d
38 changed files with 279 additions and 46 deletions

View File

@@ -1,4 +1,5 @@
using System.Runtime.InteropServices;
using System;
using System.Runtime.InteropServices;
namespace Netch.Controllers.Other.DNS
{
@@ -27,6 +28,8 @@ namespace Netch.Controllers.Other.DNS
public bool Create(Models.Server.Server s, Models.Mode.Mode m)
{
Global.Logger.Info(String.Format("{0:x} aiodns.bin", Utils.FileHelper.Checksum("Bin\\aiodns.bin")));
Methods.aiodns_dial(NameList.TYPE_REST, "");
Methods.aiodns_dial(NameList.TYPE_ADDR, ":53");
Methods.aiodns_dial(NameList.TYPE_LIST, "Bin\\aiodns.conf");

View File

@@ -2,9 +2,6 @@
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Netch.Controllers.Other.DNS
{

View File

@@ -2,9 +2,6 @@
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Netch.Controllers.Other.DNS
{

View File

@@ -2,9 +2,6 @@
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Netch.Controllers.Other.DNS
{

View File

@@ -0,0 +1,17 @@
using System;
namespace Netch.Controllers.Other.Web
{
public class PrivoxyController : Interface.IController
{
public bool Create(Models.Server.Server s, Models.Mode.Mode m)
{
throw new NotImplementedException();
}
public bool Delete()
{
throw new NotImplementedException();
}
}
}