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

support for IPv6 nameservers #120

Merged
merged 2 commits into from
Nov 3, 2016
Merged

support for IPv6 nameservers #120

merged 2 commits into from
Nov 3, 2016

Conversation

aquister
Copy link
Contributor

No description provided.

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

Maybe this should also be added to dhcp::pool for feature parity?

@@ -4,6 +4,7 @@
{
'dnsdomain' => ['sampledomain.com', '1.1.1.in-addr.arpa'],
'nameservers' => ['1.1.1.1'],
'nameservers_ipv6' => ['1:5ee:bad:c0de'],
Copy link
Member

Choose a reason for hiding this comment

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

This is not a valid IPv6 address. Try adding an extra : and it should at least pass validation if we decide to add it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why does it need to be a valid ipv6 address? it is only used as a string in the spec test

Copy link
Member

Choose a reason for hiding this comment

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

IMHO it's a best practice to input valid data, even in tests. While currently there's no input validation, it's better to be ready for it.

@jyaworski jyaworski merged commit 0f4507b into voxpupuli:master Nov 3, 2016
@aquister aquister deleted the nameservers_ipv6 branch March 10, 2017 11:46
cegeka-jenkins pushed a commit to cegeka/puppet-dhcp that referenced this pull request Jun 26, 2020
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.

4 participants