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 Shadowsocks.Interop.V2Ray.Dns;
- using System.Collections.Generic;
-
- namespace Shadowsocks.Interop.V2Ray
- {
- public class DnsObject
- {
- /// <summary>
- /// Gets or sets the dictionary storing hosts.
- /// The key is the hostname.
- /// The value can either be a hostname or an IP address.
- /// </summary>
- public Dictionary<string, string> Hosts { get; set; }
-
- /// <summary>
- /// Gets or sets the list of DNS servers.
- /// A DNS server can either be a <see cref="ServerObject"/> or a string.
- /// </summary>
- public List<object> Servers { get; set; }
-
- /// <summary>
- /// Gets or sets the client IP used when sending requests to DNS server.
- /// </summary>
- public string? ClientIp { get; set; }
-
- public string? Tag { get; set; }
-
- public DnsObject()
- {
- Hosts = new();
- Servers = new();
- }
- }
- }
|