130 Commits

Author SHA1 Message Date
Matthew Edwards 815a3c35ea Fix CI
Add brackets to prevent GitHub mangling conditional, hardcode username so it isn't censored
v0.3
2020-12-23 17:17:28 +13:00
Matthew Edwards 08eac5a127 Fix CI
Build images on every push, but only push images on pushes to master and releases
2020-12-23 14:02:36 +13:00
Matthew Edwards 0111ab490d Tag docker images in CI 2020-12-23 13:43:58 +13:00
Matthew Edwards 00dc2a439f Document workaround for systemd-resolved 2020-12-23 12:55:41 +13:00
Matthew Edwards 95de4aea09 Fix configuration documentation (origin should be domain)
Fixes #4
2020-12-23 12:52:48 +13:00
Matthew Edwards 0596b5b8ef Document ZT 1.6 DNS feature 2020-12-23 12:37:17 +13:00
Matthew Edwards af0f26329d Document macOS interfaces (closes #1) 2020-12-23 12:02:15 +13:00
Matthew Edwards 37d9e3d418 Fix CI 2020-12-23 11:57:42 +13:00
Matthew Edwards b478f6163c Merge pull request #3 from artw/artw-patch-1
Set AA bit in answers

Otherwise it does not work with some DNS forwarders like PowerDNS recursor
2020-12-23 11:43:38 +13:00
Matthew Edwards 4d5ad528ec Merge pull request #2 from johannrichard/patch-capabilities-tags
Fix for non-empty structs
2020-12-23 11:42:20 +13:00
Art Win b59fd26f67 set AA bit in answers
otherwise it does not work with some DNS forwarders like PowerDNS recursor
2020-07-25 18:50:27 +03:00
Johann Richard 9bfb57c629 Fix for non-empty structs
Capabilites, Tags and TagsByName fields can be non-empty structs. The current code breaks in that case (can't be unmarshaled) whereas the patch replaces `string` with `json.RawMessage` to take care of it.
2020-05-03 23:33:46 +02:00
Matthew Edwards e7a95441bb CI: switch to my dockerhub-description 2019-12-21 13:13:37 +13:00
Matthew Edwards 73ffe3c1f0 CI: Fix conditional 2019-12-20 22:47:55 +13:00
Matthew Edwards 7180215888 Docs: update copyright 2019-12-20 22:40:38 +13:00
Matthew Edwards c4188818c9 Feat: rename ztdns -> zerotier-dns, remove docker compose 2019-12-20 16:46:34 +13:00
Matthew Edwards e41e676b34 Docs: Fix links, update configuration section, minor corrections 2019-12-20 15:11:47 +13:00
Matthew Edwards 002df922fd Docs: update readme, example config, and command-line help 2019-12-10 14:53:06 +13:00
Matthew Edwards 22a9997f5a CI: only push Docker image from mater 2019-10-10 15:29:49 +13:00
Matthew Edwards e6be87f580 Docs: add fork notice 2019-10-10 15:16:44 +13:00
Matthew Edwards 84fdbb6be4 Docs: fix systemd highlighting 2019-10-10 15:11:01 +13:00
Matthew Edwards 3ecff48190 Docs: add header 2019-10-10 15:07:08 +13:00
Matthew Edwards 98a486cdc0 Docs: rewrite readme, tweak example config 2019-10-10 14:54:02 +13:00
Matthew Edwards dfce50178a Fix: make round-robin config match example (subdomain -> pattern not pattern -> subdomain), tidy up 2019-10-10 14:52:16 +13:00
Matthew Edwards 9f6d327fec Refactor: extract method for sanitizing member name 2019-10-10 14:51:19 +13:00
Matthew Edwards a26a45c43b Style: error messages start with lower-case letter, other minor tweaks 2019-10-10 14:47:42 +13:00
Matthew Edwards 6380e40f0d Docs: remove Docker Hub badge 2019-10-08 13:21:06 +13:00
Matthew Edwards 062f16a750 CI: Update Docker Hub description on build 2019-10-08 11:19:12 +13:00
Matthew Edwards 3ac6df1d64 CI: Only build if checks pass 2019-10-07 23:30:45 +13:00
Matthew Edwards 9b91d1df4d Fix: allow Docker image to use port 53 2019-10-07 23:21:21 +13:00
Matthew Edwards f47dec6ad3 Log times in local timezone, run as unprivileged user in Docker image, shrink Docker image 2019-10-03 19:49:59 +13:00
Matthew Edwards 7eb8ce016f Add image size badge 2019-10-03 18:51:25 +13:00
Matthew Edwards cc9b420407 Run pre-commit in Github Actions 2019-10-03 18:41:38 +13:00
Matthew Edwards 8dbf76fa36 Add Docker Hub badge 2019-10-03 18:32:59 +13:00
Matthew Edwards 55de4f46d1 Cache deps in dockerfile 2019-10-03 16:29:08 +13:00
Matthew Edwards 705967ffca Fix include-offline 2019-10-03 16:27:57 +13:00
Matthew Edwards 3553fae0c8 Merge branch 'DavidWatkins'
# Conflicts:
#	Dockerfile
#	cmd/mkconfig.go
#	cmd/server.go
#	dnssrv/dnssrv.go
#	main.go
2019-10-03 16:09:03 +13:00
Matthew Edwards ab35706dab Document include-offline 2019-10-03 16:03:45 +13:00
Matthew Edwards c15b1c5d49 Merge branch 'sysadchin' 2019-10-03 16:02:08 +13:00
Matthew Edwards 24f23ffa87 Tidy up 2019-10-03 16:00:20 +13:00
Matthew Edwards 9f7f20d697 Overhaul config, strip out other subcommands, tidy up, add pre-commit with golangci-lint 2019-10-03 15:43:02 +13:00
Matthew Edwards 7c28135168 Fork hatemosphere -> mje-nz 2019-10-03 15:43:02 +13:00
Matthew Edwards f24b60751c Update to Go 1.13 2019-10-03 15:43:02 +13:00
Matthew Edwards 92017356e2 Remove 'This file is part of' comments 2019-10-03 15:43:02 +13:00
Matthew Edwards a4cd63519a Ensure member names are valid (ish) DNS names, ignore case in queries 2019-10-03 15:43:02 +13:00
Matthew Edwards 871aac50ba Merge remote-tracking branch 'hatemosphere/go-mod-upd' into HEAD 2019-10-03 15:42:15 +13:00
Ihor Borodin 354c6d671f Updating go modules, swapping refs to fork (#7) 0.2.0 2019-08-06 14:31:01 +03:00
hatemosphere 581da0a152 Updating go modules, swapping refs to fork 2019-08-06 14:29:44 +03:00
David Watkins 7e8e327482 Fixed formatting issues with the README 2019-03-09 03:40:20 -05:00
David Watkins b32e5261a1 Added instructions for adding ztdns as a service to Ubuntu 2019-03-09 03:38:47 -05:00