5/5 - (3 votes)

In this guide, i will show you how you can fix Segmentation fault, and CURL: could not resolve host: for centos7 and cpanel server, when you are unable to update cpanel or apache and the issue is curl not working for some reason or any network issue, here is solution:

Error: when you run any command it will show this on display:

curl: (6) Could not resolve host: securedownloads.cpanel.net; Unknown error

Fix: To fix the issue please edit the following file using the giving command:


nano -w /etc/resolv.conf

Add the following lines:


About the Author

Shahid Malla

Shahid Malla is an accomplished system admin and web developer, renowned for his expertise in various fields. With a strong background in WHMCS development, WordPress development, and PHP development, Shahid has honed his skills over the years to deliver exceptional results. As a top-rated freelancer, he has consistently garnered praise and recognition, earning a stellar 5-star rating from a pool of 500 reviews. Shahid's proficiency extends beyond coding and development, encompassing server configuration, server management, and web security. With his extensive knowledge and dedication to delivering high-quality solutions, Shahid Malla is your go-to professional for all your technical needs.

View All Articles