DNS architecture
As shown in the diagram below, the kubevpn-traffic-manager Pod has a built-in DNS server for domain name resolution
services.
When accessing resources in the cluster locally using a domain name:
- First, a
DNS queryis sent to theDNS server. - The
DNS serverwill try to resolve the givenname, for example,authors.default. - If the query fails, it will complement the name and retry based on the
searchrules in the/etc/resolv.conffile.