You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using System.Collections.Generic;
-
- namespace Shadowsocks.Interop.V2Ray.Dns
- {
- public class ServerObject
- {
- /// <summary>
- /// Gets or sets the DNS server address.
- /// Supports UDP and DoH.
- /// </summary>
- public string Address { get; set; }
-
- /// <summary>
- /// Gets or sets the DNS server port.
- /// Defaults to 53.
- /// </summary>
- public int Port { get; set; }
-
- /// <summary>
- /// Gets or sets the list of domains
- /// that prefers this DNS server.
- /// </summary>
- public List<string> Domains { get; set; }
-
- /// <summary>
- /// Gets or sets the ranges of IP addresses
- /// this DNS server is expected to return.
- /// </summary>
- public List<string> ExpectIPs { get; set; }
-
- public ServerObject()
- {
- Address = "";
- Port = 53;
- Domains = new();
- ExpectIPs = new();
- }
- }
- }
|