Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
cpanel:rebuild_named_zones [2009-10-12 19:02:15]
shaun.reitan
cpanel:rebuild_named_zones [2010-09-17 22:18:33]
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. 
  
-<code perl rebuildnamedzones.pl>+<sxh perl;smart-tabs: true>
 #!/usr/bin/perl #!/usr/bin/perl
 # cPlicensing.net - scripts        Copyright(c) 2003 cPlicensing.net. # cPlicensing.net - scripts        Copyright(c) 2003 cPlicensing.net.
Line 92: Line 92:
  
 } }
-</code>+</sxh>
  
 {{tag>scripts cpanel}} {{tag>scripts cpanel}}