Score:0

Ubuntu Temporary failure in name resolution

uy flag

I have downloaded a Ubuntu 20.04 cloud image from https://cloud-images.ubuntu.com/ and ran it as an instance in OpenStack. My OpenStack is also running on a VM using VMware. I have also assigned a floating IP address to my Ubuntu instance in OpenStack and I can ping external IP address successfully.

ping 8.8.8.8

But when I ping google.com, I encounter the following error:

ping google.com

I have tried all available solutions on the internet, but I am still unsuccessful. You can find some important configurations as follows:

/etc/resolv.conf

/etc/resolv.conf

It has a symlink with:

../run/systemd/resolve/stub-resolv.conf

../run/systemd/resolve/stub-resolv.conf

/etc/netplan/50-cloud-init.yaml

/etc/netplan/50-cloud-init.yaml

Firewall Status:

sudo ufw status -> Status: inactive

I have tried different versions of Ubuntu, and this problem was found in all of them.

Anis LOUNIS avatar
bq flag
did you try setting the nameserver to 8.8.8.8?
ehsan khodayar avatar
uy flag
Yes, I did. But it didn't help. It just takes a few seconds more to show the error.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.