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

Feature Request - Use this (very useful) tool to generate Bind like zone file #192

Open
ecorvalan opened this issue Dec 27, 2020 · 0 comments

Comments

@ecorvalan
Copy link

Hi
I've been using this very useful tool and find it great, thanks a lot.
I was trying to setup a new bind9 zone for my VPN clients to be able to know them byt heir names (each client has an individual certificate).
Thus I modified the Python script to include a "-b or --bind" option:
parser.add_argument('-b', '--bind', action='store_true',
required=False, default=False,
help='Run to generate bind format database')

calling a different class (OpenvpnBindPrinter)
if args.bind:
OpenvpnBindPrinter(cfg, monitor)
else:
OpenvpnHtmlPrinter(cfg, monitor)
and generates a Bind9 format to be included in a zone file

Perhaps it might be useful for others
Thanks again

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

1 participant