1
0
mirror of https://github.com/mje-nz/zerotier-dns.git synced 2024-05-11 05:55:15 +00:00

update example and mkconfig.go to include multi network support

This commit is contained in:
Aaryn Smith
2018-02-21 11:20:37 -06:00
parent e8c61b56f9
commit c8dea66e6f
2 changed files with 12 additions and 4 deletions

View File

@ -11,8 +11,11 @@ DBRefresh = 30
[ZT]
# API is used to contact the ZeroTier controller API service.
API = ""
# Network is your ZeroTier network ID.
Network = ""
# URL is the url of the ZeroTier controller API
URL = "https://my.zerotier.com/api"
# This section contains one or more ZeroTier networks
# Format is: domain = "NetworkID"
# Domain does not have to match the configured network name
[Networks]

View File

@ -43,10 +43,15 @@ DBRefresh = 30
[ZT]
# API is used to contact the ZeroTier controller API service.
API = ""
# Network is your ZeroTier network ID.
Network = ""
# URL is the url of the ZeroTier controller API
URL = "https://my.zerotier.com/api"
# This section contains one or more ZeroTier networks
# Format is: domain = "NetworkID"
# Domain does not have to match the configured network name
[Networks]
`)
}
},