SOLVED Clear DNS cache on cPanel-linux?

Elizabeta

Well-Known Member
Mar 21, 2018
185
28
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

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,234
363
cPanel Access Level
DataCenter Provider
Twitter
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.