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

Unqualified domain names #33

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

pigam
Copy link

@pigam pigam commented Jul 5, 2024

This add a useOrigin option to zone type. It is a boolean, equals to false by default.
By default, it changes nothing to the actual result of toString.

If set to true, this change the toString behaviour to add $ORIGIN directive, and use @ as domain name for the zone itself.
writeRecord has been patched accordingly if called with @ as zone name.

This should address #17

I had the need for a RPZ zone.

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