set managed to false by default

This commit is contained in:
abhishek9686 2024-11-08 10:44:30 +04:00
parent bfc437bc9f
commit a964d2bf7d
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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"
}