Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

single stack IPv6 fails with 18.04 ubuntu image #3776

@aramase

Description

@aramase

Describe the bug
With 18.04 ubuntu image, the systemd-resolved uses the port :53 on the host and is being used by default for dns. This causes the coredns pods to crash for single stack IPv6 with bind address already in use as coredns pods are run on hostNetwork to leverage the host routes for dns resolution.

Steps for resolution -

  • Update /etc/systemd/resolv.conf and set DNSStubListener=no
  • sudo mv /etc/resolv.conf /etc/resolv.conf.OLD && sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
  • systemctl restart systemd-resolved

This frees up :53 on the host and the coredns pods start running without errors.

Steps To Reproduce

Expected behavior

AKS Engine version

Kubernetes version

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions