Hi @SKowshik4614 ,
Welcome to the Google Cloud Community!
The error message “Temporary failure in name resolution.” typically indicates DNS issues, where your VM’s hostname is not configured correctly [1].
Some common causes of this issue include:
- Improper configuration of the
/etc/hostsor/etc/resolve.conf. - A misconfigured DNS server.
- Firewall rules that prevent DNS traffic (port 53).
You may check this Stack Overflow thread to see if it solves your problem. Thanks.
[1]. https://askubuntu.com/questions/1045278/ubuntu-server-18-04-temporary-failure-in-name-resolution