technitium-companion: Automatic DNS record management for Docker/Traefik #1653
maxfield-allison
started this conversation in
Show and tell
Replies: 1 comment 2 replies
-
|
Thanks for sharing it here. I would recommend that you share this on reddit.com/r/technitium too so that it reaches more people in the community. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I wanted to share a tool I built that integrates with Technitium DNS Server for automatic DNS record management in Docker environments.
What is it?
technitium-companion is a lightweight Go application that watches Docker events and automatically creates/deletes DNS A records in Technitium based on Traefik router labels.
Why I built it
I run a Docker Swarm cluster with Traefik as my reverse proxy, and I was manually creating DNS records in Technitium every time I deployed a new service. Since Traefik labels already define the hostnames, I wanted to automate the DNS side.
How it works
You deploy a container with a Traefik label:
technitium-companion detects this and calls the Technitium API to create an A record
When the container stops, the record is automatically deleted
Features
Host() || Host()for multiple domainsLinks
ghcr.io/maxfield-allison/technitium-companion:latestTechnical notes
/api/zones/records/add,/api/zones/records/delete)I'd love to hear feedback from other Technitium users. Are there features that would make this more useful for your setup?
Thanks to @ShreyasZare and other contributors for building such an awesome DNS server!
Beta Was this translation helpful? Give feedback.
All reactions