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

Catalog zones #3453

Open
udf2457 opened this issue Feb 22, 2025 · 4 comments
Open

Catalog zones #3453

udf2457 opened this issue Feb 22, 2025 · 4 comments

Comments

@udf2457
Copy link
Contributor

udf2457 commented Feb 22, 2025

Would be great if you had support for creating catalog zones.

In keeping with the dnscontrol concept it would be nice to have it all in one tool instead of generating in dnscontrol and then a hacky bash script to generate the catalog.

Background reading....

From the docosphere:
BIND: https://kb.isc.org/docs/aa-01401
NSD: https://nsd.docs.nlnetlabs.nl/en/latest/catalog-zones.html
Knot: https://www.knot-dns.cz/docs/3.0/html/configuration.html#catalog-zones
PowerDNS: https://doc.powerdns.com/authoritative/catalog.html

From the blogosphere:
https://jpmens.net/2023/02/18/how-knot-dns-simplifies-adding-member-zones-to-a-catalog-zone/
https://nick.bouwhuis.net/posts/2024-12-31-catalog-zones-powerdns-knot/

@tlimoncelli
Copy link
Contributor

Hi there!

I wouldn't turn down a PR to add this kind of feature. However it isn't something I'd be able to implement. (My employer only funds me to implement features they use/need.)

I'd be glad to mentor you or anyone interested in implementing this.

Best,
Tom

@udf2457
Copy link
Contributor Author

udf2457 commented Feb 24, 2025

Thanks @tlimoncelli Right now I have a lot on at $work and can't devote any time to anything else, but maybe one day.

Also my testing isn't going well with dnscontrol anyway, for example master in creds.json doesn't seem to work with the custom port, I get:

provider axfrddns Error: dial tcp <removed>:5353: connect: connection refused

But I don't see anyhing logged on the destination side, so I'm not convinced dnscontrol is actually doing anything and I don't see anything on the tcpdump either. Its not a firewall thing because a simple dig on the same port works without issues.

So at this stage I'm very tempted to go try octodns instead, even though I prefer supporting a go project instead of a python one. 😉

@tlimoncelli
Copy link
Contributor

CC @hnrgrgr @fritterhoff for assistance

@tlimoncelli
Copy link
Contributor

octodns is an excellent project. Years ago I had lunch with the maintainers. They were super cool!

Off the top of my head, here are some differences you might find relevant:

  • That octodns uses YAML while DNSControl uses a JS-like language.
  • DNSControl's axfrddns provider is "community supported" (the lower of 2 levels of support). octodns's support for axfrdns is described on their repo.
  • octodns is better funded.
  • octodns has plug-ins that are maintained in separate repos making it easier to expand.
  • I prefer DNSControl's ability to make macros, variables, etc. (but, of course, I'm biased)
  • And, as you mentioned, Go vs. Python.

But of course, do your own research. Bottom line: I don't think you can go wrong with either.

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

2 participants