DNS resolution issue in Kubernetes #6787
-
I'm trying to deploy Outline in Kubernetes, but I'm facing a surprising DNS resolution error that I can't explain. Nothing is special to the Pod's configuration regarding DNS, in fact the resolution works fine with Yet, Outline fails to resolve the full-qualified DNS of it's in-cluster Postgres service as well as the public record of my Keycloak instance. Interestingly, the database DNS resolution works without the
Curl can resolve the entry:
I'm a bit lost as to what could be going on. Any hints are appreciated! Image: Edit: The cluster is running on a Hetzner Dedicated Server |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Is your router a FritzBox? Hab the same Problem some time ago as some dude bought fritz.box before AVm (Vendor of Fritz Box) could do that. This led to some super-strange behavior to kubedns and stuff. I can post the solution later, if needed. |
Beta Was this translation helpful? Give feedback.
I think my issue is actually very similar after all. I don't understand exactly what's going on, but updating my CoreDNS configuration
fixed the issue. I use this IP because the server is connected to a headscale VPN. The
resolv.conf
in the CoreDNS Pod containedWhich seems odd, as I think it should contain either
100.100.100.100
or the other two nameservers, as they might resolve records differently.Anyway, no issue with Outline at all.