Explorar el Código

set managed to false by default

abhishek9686 hace 10 meses
padre
commit
a964d2bf7d
Se han modificado 2 ficheros con 3 adiciones y 2 borrados
  1. 2 1
      scripts/netmaker.default.env
  2. 1 1
      servercfg/serverconf.go

+ 2 - 1
scripts/netmaker.default.env

@@ -92,4 +92,5 @@ PEER_UPDATE_BATCH=true
 PEER_UPDATE_BATCH_SIZE=50
 # default domain for internal DNS lookup
 DEFAULT_DOMAIN=netmaker.hosted
-
+# managed dns setting, set to true to resolve dns entries on netmaker network
+MANAGE_DNS=false

+ 1 - 1
servercfg/serverconf.go

@@ -657,7 +657,7 @@ func GetMetricInterval() string {
 
 // GetManageDNS - if manage DNS enabled or not
 func GetManageDNS() bool {
-	enabled := true
+	enabled := false
 	if os.Getenv("MANAGE_DNS") != "" {
 		enabled = os.Getenv("MANAGE_DNS") == "true"
 	}