mirror of
https://github.com/gravitl/netmaker.git
synced 2025-11-10 16:50:46 +08:00
set managed to false by default
This commit is contained in:
parent
bfc437bc9f
commit
a964d2bf7d
2 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue