diff --git a/net/dns/manager_windows.go b/net/dns/manager_windows.go index e4d703257..250a25573 100644 --- a/net/dns/manager_windows.go +++ b/net/dns/manager_windows.go @@ -469,6 +469,9 @@ func (m *windowsManager) disableDynamicUpdates() error { } defer k.Close() + if err := k.SetDWordValue("RegistrationEnabled", 0); err != nil { + return err + } if err := k.SetDWordValue("DisableDynamicUpdate", 1); err != nil { return err }