Nov 20, 2017
5
0
1
Bangladesh
cPanel Access Level
Root Administrator
But when I checked my namesever selection option that time I found my PowerDNS has been disable and BIND are working. Right now how to I re-select PowerDNS from my WHM. Detail on Screenshot: Screenshot
 
Last edited by a moderator:

ankeshanand

Well-Known Member
Mar 29, 2021
203
61
103
India
cPanel Access Level
Root Administrator
After giving it /etc/resolv.conf
-bash: /etc/resolv.conf: Permission denied
You seem new to Terminal....

From this, he meant
Code:
nano /etc/resolv.conf
Code:
vi /etc/resolv.conf
If Still you cannot access those files, try
Code:
chmod 700 /etc/resolv.conf
and then retry.

My Answer:
If all the services are showing unavailable, Restart the Server, If still you are seeing those Error, Edit /etc/resolv.conf
Code:
nameserver 8.8.8.8
nameserver 8.8.4.4
If still DNS seems unavailable, Try to manually start PDNS Server.
Code:
lsof -i:53
If anything is showing, Note the PID and then
Code:
kill PID
Then,
Code:
/scripts/restartsrv_pdns
OR Try:
Code:
/scripts/restartsrv_named
(Automatically selects suitable service activated)

Let me know if it works or not!
 
  • Like
Reactions: cPRex