Skip to content

Node local dns for dual-stack #655

@DockToFuture

Description

@DockToFuture

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions