Skip to content

Pods do not resolve CNAMES correctly #3

@ThomasBuchinger

Description

@ThomasBuchinger

For some reason Pods are unable to resolve CNAMEs, but they can resolve A records.

  • Happens in Workload Pods and CoreDNS Pods
  • nslookup is able to resolve CNAMEs correctly
  • /etc/resolv.conf config looks ok to me
  • Different variations vault, vault.buc.sh or vault.buc.sh. (note the dot at the end ) behave identically
nslookup vault.buc.sh
# Works and returns the cname

nslookup evergreen.buc.sh
# Works and returns the IP address

getent hosts evergreen.buc.sh
# Works and returns the IP address

getent hosts vault.buc.sh
# Fails

curl https://vault.buc.sh
# Fails, unable to resolve hostname 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions