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

Making unbound authoritative #116

Open
karolyi opened this issue Jan 12, 2024 · 2 comments
Open

Making unbound authoritative #116

karolyi opened this issue Jan 12, 2024 · 2 comments

Comments

@karolyi
Copy link

karolyi commented Jan 12, 2024

Hey,

I'm working on setting this container up on my server, while the server itself is intended to be a secondary to certain zones.

That involves using unbound to serve authoritative answers to certain zones I set up in its configuration, and forwarding port 53 (TCP/UDP) to unbound:553 so it can answer queries from the outside.

The first real issue I faced is, unbound only listens on 127.0.0.1 per its config you always overwrite on startup. Upon changing that to ::@553 and 0.0.0.0:553, it started responding to queries.

Would you accept a PR to convert this container to a thing that can act as an authoritative DNS, while responding to DNSCrypt locally too? It will probably involve a bit of work, but still better than using another, unbound-only container that I can configure better. Also, that way I could avoid running unbound twice, just for the sake the setup work as to suit my needs.

@jedisct1
Copy link
Member

As long as this is optional (the current behavior is not changed by default), and that everything is properly documented, sure!

@karolyi
Copy link
Author

karolyi commented Jan 12, 2024

Disclaimer: I'm not a docker expert but can figure it out. I'm gonna come up with something in the near future, which will need your input.

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