Could not resolve host: google.com

Hi, I rebuilt my account on Ubuntu 22.04. I can't install anything because

curl -I google.com

curl: (6) Could not resolve host: google.com

and

curl -I 8.8.8.8

curl: (28) Failed to connect to 8.8.8.8 port 80 after 129978 ms: Connection timed out.

Maybe someone can help me?
PS/ solved

1 Reply

While I recommend looking through some of our troubleshooting guides to start, if your server isn't able to cURL external sites, you can always reach out by opening a Support Ticket since this can be caused by issues on the infrastructure.

Here are some guides that could help:

Troubleshooting Basic Connection Issues
Troubleshooting DNS issues

One thing that may help this situation is updating the DNS resolvers used by your server. Keep in mind that using Network Helper will rewrite any configuration files and set them back to our resolvers, so you will need to manually configure the networking to change those configurations.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct