From 9451152d7655f841ad9e42dfbf8c738016ab3632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=9B=BD=E4=BC=9F?= <366193849@qq.com> Date: Tue, 20 Jul 2021 16:58:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B2=A1=E6=9C=89=E4=BD=BF?= =?UTF-8?q?=E7=94=A8PureDns=E8=A7=A3=E6=9E=90ip=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FastGithub.ReverseProxy/DomainResolver.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FastGithub.ReverseProxy/DomainResolver.cs b/FastGithub.ReverseProxy/DomainResolver.cs index 514eb2b..31be4a1 100644 --- a/FastGithub.ReverseProxy/DomainResolver.cs +++ b/FastGithub.ReverseProxy/DomainResolver.cs @@ -35,8 +35,8 @@ namespace FastGithub.ReverseProxy this.options = options; this.logger = logger; - this.dnsClient = new DnsClient(options.CurrentValue.FastDns.ToIPEndPoint()); - options.OnChange(opt => this.dnsClient = new DnsClient(opt.FastDns.ToIPEndPoint())); + this.dnsClient = new DnsClient(options.CurrentValue.PureDns.ToIPEndPoint()); + options.OnChange(opt => this.dnsClient = new DnsClient(opt.PureDns.ToIPEndPoint())); } ///