mirror of
https://github.com/bolucat/Archive.git
synced 2025-10-13 03:44:39 +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;
|
|
} |