diff --git a/net/dns/manager_windows.go b/net/dns/manager_windows.go index c02a4e270..f6eb7b3ff 100644 --- a/net/dns/manager_windows.go +++ b/net/dns/manager_windows.go @@ -293,7 +293,7 @@ func (m windowsManager) SetDNS(cfg OSConfig) error { } t0 = time.Now() - m.logf("running ipconfig /registerdns ...") + m.logf("running ipconfig /flushdns ...") cmd = exec.Command("ipconfig", "/flushdns") cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true} err = cmd.Run()