Skip to content

Commit

Permalink
set managed to false by default
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek9686 committed Nov 8, 2024
1 parent bfc437b commit a964d2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion scripts/netmaker.default.env
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion servercfg/serverconf.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit a964d2b

Please sign in to comment.