using System.Collections.Generic; namespace Shadowsocks.Interop.V2Ray.Dns { public class ServerObject { /// /// Gets or sets the DNS server address. /// Supports UDP and DoH. /// public string Address { get; set; } /// /// Gets or sets the DNS server port. /// Defaults to 53. /// public int Port { get; set; } /// /// Gets or sets the list of domains /// that prefers this DNS server. /// public List Domains { get; set; } /// /// Gets or sets the ranges of IP addresses /// this DNS server is expected to return. /// public List ExpectIPs { get; set; } public ServerObject() { Address = ""; Port = 53; Domains = new(); ExpectIPs = new(); } } }