mirror of
https://github.com/netchx/netch.git
synced 2026-03-28 18:59:46 +08:00
13 lines
338 B
C#
13 lines
338 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Netch.Models;
|
|
|
|
public class AioDNSConfig
|
|
{
|
|
public string ChinaDNS { get; set; } = $"tcp://{Constants.DefaultCNPrimaryDNS}:53";
|
|
|
|
public string OtherDNS { get; set; } = $"tcp://{Constants.DefaultPrimaryDNS}:53";
|
|
|
|
[JsonIgnore]
|
|
public ushort ListenPort { get; set; } = 53;
|
|
} |