Adjusting the DNS Settings of the VPC and VM
When the CoreDNS add-on is started, it obtains the DNS settings from the resolve.conf file from the deployed instance by default and uses the obtained information as the upstream resolution server address. Before CoreDNS restarts, resolve.conf on the node is not reloaded. Here are some suggestions:
- Ensure that the resolve.conf file of each node in the cluster is the same. In this way, CoreDNS can schedule requests to any node in the cluster.
- When modifying the resolve.conf file of a node, if the node has a CoreDNS pod, restart CoreDNS timely to ensure status consistency.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot
