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:
Edit:
nano -w /etc/resolv.conf
Add the following lines:
nameserver 8.8.8.8 nameserver 8.8.4.4
Show Comments