using System.Collections.Generic; namespace FastGithub { /// /// FastGithub的配置 /// public class FastGithubOptions { /// /// 受信任的dns服务 /// public DnsConfig TrustedDns { get; set; } = new DnsConfig { IPAddress = "127.0.0.1", Port = 5533 }; /// /// 不受信任的dns服务 /// public DnsConfig UntrustedDns { get; set; } = new DnsConfig { IPAddress = "114.114.114.114", Port = 53 }; /// /// 代理的域名配置 /// public Dictionary DomainConfigs { get; set; } = new(); } }