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

Node local dns for dual-stack #655

Open
DockToFuture opened this issue Nov 20, 2024 · 1 comment
Open

Node local dns for dual-stack #655

DockToFuture opened this issue Nov 20, 2024 · 1 comment

Comments

@DockToFuture
Copy link

DockToFuture commented Nov 20, 2024

We set up kubernetes dual-stack clusters and want to use node-local dns. When checking the code I see that only one IP familiy is supported at time (

dns/cmd/node-cache/main.go

Lines 104 to 106 in fe97ec9

for _, ip := range params.LocalIPs {
if utilnet.IsIPv6(params.LocalIPs[0]) != utilnet.IsIPv6(ip) {
return params, fmt.Errorf("unexpected IP Family for localIP - %q, want IPv6=%v", ip, utilnet.IsIPv6(params.LocalIPs[0]))
). What is the reason for that? Can we also add dual-stack support to the kubernetes node-cache?

@DockToFuture
Copy link
Author

As an implementation proposal I suggest: #657.

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