uxbh / ztdns

DNS server for a ZeroTier virtual network
MIT License
246 stars 50 forks source link

Unable to pull member list and dns entries #22

Open amolvishwakarma opened 4 years ago

amolvishwakarma commented 4 years ago

Unable to update DNS entries: Unable to get member list: json: cannot unmarshal array into Go struct field .Config.Tags of type string

# Configuration file for ztDNS

suffix = "zt"
port = 53
interface = "ztyou4q"

# Number of minutes to wait before updating the DNS database again (Default: 30)
DBRefresh = 30

# This section contains information related to your ZeroTier config
[ZT]
# API is used to contact the ZeroTier controller API service.
API = "hQFtY3uX0UH9TGqWabcdefghi"
# 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]
domain = "networkid3646546"
amolvishwakarma commented 4 years ago

Developers at least respond to the issue more than 3 days gone and you guys are not responding !

pkarsy commented 4 years ago

The same error here. Anyone has a fix ?

jleechpe commented 4 years ago

There will need to be a code-fix to actually resolve this issue however was able to resolve it by:

ztdns is expecting tags to be a string but it is now a set of values, so it doesn't map to the expected go struct.