Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Technitium DNS server API #1553

Open
renne opened this issue Feb 2, 2023 · 4 comments
Open

Add Technitium DNS server API #1553

renne opened this issue Feb 2, 2023 · 4 comments

Comments

@renne
Copy link
Contributor

renne commented Feb 2, 2023

Technitium DNS is a quite powerful DNS server with integrated DHCP server.
Adding the Technitium DNS API to lexicon would allow to e.g. self-host DNS on Yunohost.

Issue in Technitium DNS issues

@Djelibeybi
Copy link
Contributor

@renne you can use Lexicon's existing ddns provider with Technitium. To do this, add a TSIG key via Settings -> TSIG. I recommend using a simple key name and letting Technitium generate a strong secret for you. Leave the algorithm as HMAC-SHA256 too.

You then need to allow both zone transfers and dynamic updates for Lexicon using that TSIG key. If you can limit the source IP addresses that would be good. On the Dynamic Update page, you need to specify the domain name as *.domain.com and the record type can be limited to TXT

When running Lexicon, the --auth-token parameter is hmac-sha256:lexicon:<shared_secret> and the --ddns-parameter is just the IP address of your Technitium server.

@renne
Copy link
Contributor Author

renne commented Feb 14, 2023

@Djelibeybi
Is it possible to add/update/delete A, AAAA, MX, CAA and TXT records via lexicon?

@Djelibeybi
Copy link
Contributor

Yes, it is

@alexhorner
Copy link

It would be good if this was referenced somewhere in documentation. I had to go down the rabbit hole of acme.sh, lexicon and then issues just to find out how you'd set up acme.sh to work with Technitium.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants