No description
Find a file
2023-03-20 23:18:16 +01:00
.github/workflows feat(ci): build docker image 2023-03-20 23:18:16 +01:00
vendor feat(application): inital commit 2023-03-20 00:40:36 +01:00
.dockerignore feat(application): inital commit 2023-03-20 00:40:36 +01:00
Dockerfile feat(application): inital commit 2023-03-20 00:40:36 +01:00
go.mod feat(application): inital commit 2023-03-20 00:40:36 +01:00
go.sum feat(application): inital commit 2023-03-20 00:40:36 +01:00
LICENSE feat(application): inital commit 2023-03-20 00:40:36 +01:00
main.go feat(v4-only): allow ipv4 only support 2023-03-20 01:13:12 +01:00
README.md feat(docs): update docs for fritzbox 2023-03-20 01:24:19 +01: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. \
  foosinn/webhook-rfc2136

fritzbox

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

Werte: