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

Allow ipv6 address as dns when setting static ipv4 #285

Merged
merged 2 commits into from
Oct 17, 2017

Conversation

ailisp
Copy link
Member

@ailisp ailisp commented Oct 13, 2017

ISSUE:
When setting ipv4 static network in appliance console, we didn't allow ipv6 as dns. Now it's allowed.
BZ:
allow ipv6 address as dns when setting static ipv4

\cc @yrudman @gtanzillo
@miq-bot add-label wip, bug

@ailisp ailisp changed the title Allow ipv6 address as dns when setting static ipv4 [WIP] Allow ipv6 address as dns when setting static ipv4 Oct 13, 2017
@miq-bot
Copy link
Member

miq-bot commented Oct 13, 2017

Checked commits ailisp/manageiq-gems-pending@178693f~...866088d with ruby 2.3.3, rubocop 0.47.1, and haml-lint 0.20.0
2 files checked, 0 offenses detected
Everything looks fine. 👍

@ailisp
Copy link
Member Author

ailisp commented Oct 14, 2017

@miq-bot remove-label wip

@miq-bot miq-bot changed the title [WIP] Allow ipv6 address as dns when setting static ipv4 Allow ipv6 address as dns when setting static ipv4 Oct 14, 2017
@miq-bot miq-bot removed the wip label Oct 14, 2017
@carbonin
Copy link
Member

Why are we doing this? Is there a use case for mixing IP protocol versions for DNS?

It does look like it's worth investigating as the static6 case seems to allow either IPv4 or IPv6 for the primary DNS server, but then restricts to IPv6 only for the secondary.

ref:

new_dns1 = ask_for_ip('Primary DNS', dns1)
new_dns2 = ask_for_ipv6_or_none("Secondary DNS (Enter 'none' for no value)")

@yrudman
Copy link
Contributor

yrudman commented Oct 17, 2017

@carbonin carbonin self-assigned this Oct 17, 2017
@carbonin carbonin merged commit c95581f into ManageIQ:master Oct 17, 2017
@carbonin carbonin added this to the Sprint 72 Ending Oct 30, 2017 milestone Oct 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants