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); }