Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
cpanel:rebuild_named_zones [2010-09-17 15:18:33]
garrett.plasky Approved
cpanel:rebuild_named_zones [2010-09-17 15:20:25]
garrett.plasky Approved
Line 2: Line 2:
 This script will rebuild all your /​var/​named/​*.db files. It first pulls every client from /​var/​cpanel/​users and grabs each users domain and ip address. It then pulls the first 2 nameservers from /​etc/​wwwacct.conf and rebuilds the zones to how they would be if you just setup this account. ​ This script will rebuild all your /​var/​named/​*.db files. It first pulls every client from /​var/​cpanel/​users and grabs each users domain and ip address. It then pulls the first 2 nameservers from /​etc/​wwwacct.conf and rebuilds the zones to how they would be if you just setup this account. ​
  
-<sxh perl;​smart-tabs:​ true>+<sxh perl;​smart-tabs:​ true;​auto-links:​ false>
 #​!/​usr/​bin/​perl #​!/​usr/​bin/​perl
 # cPlicensing.net - scripts ​       Copyright(c) 2003 cPlicensing.net. # cPlicensing.net - scripts ​       Copyright(c) 2003 cPlicensing.net.