修复没有使用PureDns解析ip的bug
This commit is contained in:
parent
f13daff767
commit
9451152d76
@ -35,8 +35,8 @@ namespace FastGithub.ReverseProxy
|
|||||||
this.options = options;
|
this.options = options;
|
||||||
this.logger = logger;
|
this.logger = logger;
|
||||||
|
|
||||||
this.dnsClient = new DnsClient(options.CurrentValue.FastDns.ToIPEndPoint());
|
this.dnsClient = new DnsClient(options.CurrentValue.PureDns.ToIPEndPoint());
|
||||||
options.OnChange(opt => this.dnsClient = new DnsClient(opt.FastDns.ToIPEndPoint()));
|
options.OnChange(opt => this.dnsClient = new DnsClient(opt.PureDns.ToIPEndPoint()));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user