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

[enh] Avoid to generate tons of lines to grant permissions #18

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

zamentur
Copy link
Member

@zamentur zamentur commented Nov 4, 2024

The problem

Our bind9 config are big and need to be overwritten frequently.

The solution

Use include and another way to grant permissions

TODO

@zamentur zamentur marked this pull request as draft November 4, 2024 21:28
grant {{ subdomain.name }}. name vjud.{{ subdomain.name }}. A AAAA CNAME;
grant {{ subdomain.name }}. name pubsub.{{ subdomain.name }}. A AAAA CNAME;
{% endfor %}
grant * selfsub . A AAAA TXT MX CAA CNAME SRV DNAME;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See https://bind9.readthedocs.io/en/v9.18.31/reference.html#namedconf-statement-update-policy

If i understand well, all identity matched by * (referring to a tsig key containing the domain name) could edit domain and subdomain related to the name the key...

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

Successfully merging this pull request may close these issues.

1 participant