From 650bca7ca8f1664e2e2707edeb8e073d22fad4f2 Mon Sep 17 00:00:00 2001 From: Maycon Santos Date: Mon, 13 May 2024 18:11:08 +0200 Subject: [PATCH] Fix lost root zone handler (#1975) When there is a connection issue with the root zone upstream we remove it from the dns mux, and we need to add it again --- client/internal/dns/server.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/internal/dns/server.go b/client/internal/dns/server.go index 8f6e8b57270..267c1ed8071 100644 --- a/client/internal/dns/server.go +++ b/client/internal/dns/server.go @@ -549,9 +549,7 @@ func (s *DefaultServer) upstreamCallbacks( if nsGroup.Primary { s.currentConfig.RouteAll = true - if runtime.GOOS == "android" { - s.service.RegisterMux(nbdns.RootZone, handler) - } + s.service.RegisterMux(nbdns.RootZone, handler) } if err := s.hostManager.applyDNSConfig(s.currentConfig); err != nil { l.WithError(err).Error("reactivate temporary disabled nameserver group, DNS update apply")