mirror of
https://github.com/gravitl/netmaker.git
synced 2025-11-11 17:20:34 +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
|
PEER_UPDATE_BATCH_SIZE=50
|
||||||
# default domain for internal DNS lookup
|
# default domain for internal DNS lookup
|
||||||
DEFAULT_DOMAIN=netmaker.hosted
|
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
|
// GetManageDNS - if manage DNS enabled or not
|
||||||
func GetManageDNS() bool {
|
func GetManageDNS() bool {
|
||||||
enabled := true
|
enabled := false
|
||||||
if os.Getenv("MANAGE_DNS") != "" {
|
if os.Getenv("MANAGE_DNS") != "" {
|
||||||
enabled = os.Getenv("MANAGE_DNS") == "true"
|
enabled = os.Getenv("MANAGE_DNS") == "true"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue