20.3 C
Los Angeles
Tuesday, January 21, 2025

WATCH LIVE: President Donald Trump’s Swearing-In and Inaugural Address

Date: Monday, January 20, 2025Event: Donald J....

How to Earn in USD from Anywhere in the World: 20 Trusted Sites for Remote Jobs

In today’s interconnected and technologically advanced world,...

How to reload/restart DNS nameserver

How toHow to reload/restart DNS nameserver

The DNS nameserver service manages the DNS zone file on a cPanel server. Reloading or restarting can refresh zone files. cPanel will automatically perform these actions in the API when you make changes but if you wanted to reload or restart manually this is possible without rebooting the whole server.

Procedure

If using BIND you can reload all zones with the command:

/usr/sbin/rndc reload

You can also reload a specific zone with the command:

/usr/sbin/rndc reload $zonename

If you want to restart BIND use the following command:

/scripts/restartsrv_named

If using PowerDNS you can reload  all zones with the command:

/usr/bin/pdns_control reload

You can reload a specific zone with the command:

/usr/bin/pdns_control  bind-reload-now $domainname

If you want to restart PowerDNS use the following command:

/scripts/restartsrv_powerdns 

Note: If you reload all zones or the individual you don’t need to restart the servers as the reload is parsing the current or latest records into memory.

cPanel. “How to Reload/Restart DNS Nameserver,” April 22, 2022. https://support.cpanel.net/hc/en-us/articles/5628693392151-How-to-reload-restart-DNS-nameserver.

Nyongesa Sande
Nyongesa Sandehttps://www.nyongesasande.com/
Nyongesa Sande is a Kenyan blogger, Pan Africanist,c olumnist Political Activist , blogger, informer & businesman who has interest in politics, governance, corporate fraud, human rights and television personality.

Check out our other content

Check out other tags:

Most Popular Articles