From bcca021c380fe9f2015236b9b63f8d921f3820d4 Mon Sep 17 00:00:00 2001 From: xljiulang <366193849@qq.com> Date: Sun, 18 Jul 2021 02:06:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=AD=E6=98=AF=E5=88=B7=E6=96=B0dn?= =?UTF-8?q?s=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FastGithub.Dns/DnsServerHostedService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/FastGithub.Dns/DnsServerHostedService.cs b/FastGithub.Dns/DnsServerHostedService.cs index cf0ed96..76b9dd5 100644 --- a/FastGithub.Dns/DnsServerHostedService.cs +++ b/FastGithub.Dns/DnsServerHostedService.cs @@ -169,6 +169,7 @@ namespace FastGithub.Dns { this.SetNameServers(this.dnsAddresses); } + FlushResolverCache(); return base.StopAsync(cancellationToken); }