Updated on 2024-12-18 GMT+08:00

Adjusting the DNS Configuration of the VPC and VM

When the coredns add-on is started, it obtains the DNS configuration in the resolve.conf file from the deployed instance by default and uses the configuration as the upstream resolution server address. Before the coredns add-on is restarted, the resolve.conf configuration on the node is not reloaded. Suggestions:

  • Ensure that the resolve.conf configuration of each node in the cluster is the same. In this way, the coredns add-on can schedule requests to any node in the cluster.
  • When modifying the resolve.conf file, if the node has a coredns add-on, restart the coredns add-on timely to ensure status consistency.