No description
Find a file
2025-04-09 21:50:52 +00:00
vendor chore: update deps 2025-01-15 02:30:06 +01:00
.dockerignore feat(application): inital commit 2023-03-20 00:40:36 +01:00
Dockerfile chore(deps): update golang docker tag to v1.24.2 2025-04-02 10:01:16 +00:00
go.mod fix(deps): update module github.com/miekg/dns to v1.1.65 2025-04-09 21:45:07 +00:00
go.sum chore: update deps 2025-01-15 02:30:06 +01:00
LICENSE feat(application): inital commit 2023-03-20 00:40:36 +01:00
main.go feat(main): log changes 2025-01-15 02:26:28 +01:00
README.md fix(docs): update to github docker image 2023-03-20 23:23:45 +01:00
renovate.json Add renovate.json 2025-01-20 09:44:59 +00:00

webhook-rfc2136

webhook-rfc2136 is a very small glue between http webhooks and rfc2136 dns updates. It's meant to allow a Fritzbox to update self hosted bind DNS Servers.

bind configuration

The secret key can be gerneated with rndc-confgen -A hmac-sha512 -k home-key.

# in the top level config
key "dyn-key" {
  algorithm hmac-sha512;
  secret "<dyn-key-secret>";
};

# within a zone section
zone "example.org" in {
  type master;
  file "example.org.zone";

  update-policy {
    grant dyn-key name dyn.example.org. A AAAA;
  };
};

docker container

Note: all the trailing dots are required.

docker run -it \
  -e DNS_SERVER=dns.example.org:53 \
  -e DNS_KEY_NAME=dyn-key. \
  -e DNS_KEY_SECRET="<dyn-key-secret>" \
  -e TOKEN="<webhook-secret>" \
  -e DNS_RECORD=dyn.example.org. \
  ghcr.io/foosinn/webhook-rfc2136:main

fritzbox

  • Internet -> Freigaben
  • Reiter: DynDNS
  • DynDNS benutzen

Werte: