SOLVED Clear DNS cache on cPanel-linux?

Elizabeta

Well-Known Member
Mar 21, 2018
252
35
28
Mostar
cPanel Access Level
Root Administrator
Hello,

There is no issue at the moment. Before some days my mails stuck because dns did not know to resolve dns smarthost . I thought maybe in this moment to clear dns cache. So, this is the reason I created this question?

Thank you!

Best regards,
Elizabeta
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,226
463
Before some days my mails stuck because dns did not know to resolve dns smarthost . I thought maybe in this moment to clear dns cache. So, this is the reason I created this question?
Hello @Elizabeta,

Clearing the cPanel server's DNS cache isn't generally required unless you are using the cPanel server as one of your resolvers in the /etc/resolv.conf file. If you do use the cPanel server, then you'd run the following commands:

Code:
rndc flush
rndc reload
Thank you.