fix: port Windows VPN DNS settling fix to master

This commit is contained in:
Codescribe
2026-05-27 03:08:02 -04:00
committed by Cuong Manh Le
parent 0d183feddb
commit 3c740b9693
7 changed files with 569 additions and 37 deletions
+1 -1
View File
@@ -1623,7 +1623,7 @@ func (p *prog) scheduleDelayedRechecks() {
ctx := ctrld.LoggerCtx(context.Background(), p.logger.Load())
ctrld.InitializeOsResolver(ctx, true)
if p.vpnDNS != nil {
p.vpnDNS.Refresh(ctx)
p.vpnDNS.Refresh(ctx, true)
}
// NRPT watchdog: some VPN software clears NRPT policy rules on