1. Add DNS to the host
resolve.conf file directly.
resolve.conf is automatically generated, you need to change
resolved.conf to make it work.
Then restart the resolve service.
Finally, you can also confirm that the configuration is in effect.
2. Restart Nodelocaldns
When launching an external request in the Pod, the resolution logic is nodelocaldns -> DNS configured by the node -> return IP.