Linux system error curl: Couldn’t resolve host

Viewed 13

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

Unable to request access to domain name in the system

1 Answers

Edit the following files in the system:

vi /etc/resolv.conf

Modify the file content to the following:

nameserver 8.8.8.8
nameserver 8.8.4.4

Re access the curl address.

Related Questions

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2025 Womay-Developer Learning and Sharing Community.