a daemon that updates dynamic DNS entries under a number of DNS services
  • Go 95.5%
  • HTML 1.8%
  • NSIS 1.7%
  • Just 0.6%
  • Shell 0.3%
  • Other 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Elisamuel Resto a6b26fcd0b
fix(nextdns): read the failure replies NextDNS actually sends
Checked against NextDNS's own help centre rather than inference. Two
things came out of it.

- a failure is a JSON document — {"errors":[{"code":"..."}]} — where a
  success is the address as plain text. Reported as it arrived, that put
  a line of JSON in the notification and on the status page. The code is
  now taken out of it, so a failure reads "NextDNS said
  internalServerError". A reply in any other shape keeps whatever the
  status meant on its own
- the endpoint answers 500 to a request carrying no Accept header at
  all, which is what Go sends unless told otherwise. updyn is not
  exposed: the shared client fills in Accept for every request that does
  not set one, confirmed on the wire as `accept='*/*'`. Recorded here
  because the next provider to be written by hand would have no reason
  to know it
2026-08-17 10:53:19 -05:00
cmd/updyn chore(repo): scaffold updyn module, tooling, and license 2026-08-13 22:16:42 -05:00
internal fix(nextdns): read the failure replies NextDNS actually sends 2026-08-17 10:53:19 -05:00
packaging feat(packaging): give the Windows binary a version resource 2026-08-14 14:58:53 -05:00
.gitignore feat(packaging): give the Windows binary a version resource 2026-08-14 14:58:53 -05:00
.golangci.yml feat(catalog): token and query-string providers, and exact name resolution 2026-08-13 23:26:16 -05:00
.goreleaser.yaml feat(packaging): give the Windows binary a version resource 2026-08-14 14:58:53 -05:00
go.mod feat(packaging): give the Windows binary a version resource 2026-08-14 14:58:53 -05:00
go.sum feat(packaging): give the Windows binary a version resource 2026-08-14 14:58:53 -05:00
Justfile fix(packaging): stamp snapshot builds with what git actually says 2026-08-14 02:06:53 -05:00
LICENSE chore(repo): scaffold updyn module, tooling, and license 2026-08-13 22:16:42 -05:00
updyn.example.yaml feat(nextdns): update an account that has no hostname to name 2026-08-14 15:34:17 -05:00