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 TSIG configuration #129

Merged
merged 3 commits into from
Nov 12, 2016
Merged

Conversation

eumel8
Copy link
Contributor

@eumel8 eumel8 commented Jun 11, 2015

To exchange DNS zones between two bind installations like master/slave you can sign this transaction with a key. It's more secure as IP-based zone transfer and protect against spoofing (see ftp://ftp.isc.org/isc/bind/9.8.0-P4/doc/arm/Bv9ARM.ch04.html#tsig)

@eumel8 eumel8 changed the title feature tsig configuration feature TSIG configuration Jun 11, 2015
algorithm <%= @algorithm %>;
secret "<%= @secret %>";
};
<% if server.class == Array -%>
Copy link
Collaborator

Choose a reason for hiding this comment

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

@server ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Use @server notation in erb variables

@solarkennedy
Copy link
Collaborator

Can you add a test for this defined type to ensure that the erb syntax is valid?

Maybe do at least two contexts, one with an array of ips for server and one with a single server ip?

@eumel8
Copy link
Contributor Author

eumel8 commented Nov 3, 2016

@solarkennedy I added some simple checks. Maybe it's enough for the first try.

@eumel8
Copy link
Contributor Author

eumel8 commented Nov 12, 2016

overseen

@solarkennedy solarkennedy merged commit 4b8d25d into ajjahn:master Nov 12, 2016
@solarkennedy
Copy link
Collaborator

Thanks!

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.

2 participants