Article ID: 3396, created on Nov 30, 2007, last review on May 11, 2014

  • Applies to:
  • H-Sphere

Resolution

To change SOA refresh, retry, expire or minimum values for dns zone it needs to modify the script /hsphere/shared/scripts/dns-zone-add.pl on all nameservers, i.e. add the following line like:

$opt{refresh}='4H';

in the case of setting SOA refresh to 4 hours, before the line:

die "--zone must be present" unless $opt{zone};

2. Log in your CP server and run DNSCreator tool to re-create DNS zones :
1) Log in as root in your CP server first:
$ su -
2) Log in as the cpanel user:
# su -l cpanel
3) Run DNS Creator:
# java psoft.hsphere.tools.DNSCreator -m db -dz
Note:Please do not forget to backup your customizaton as it will be overwritten after update and it will be needed to restore that file again further.

f213b9fa8759d57bee5d547445806fe7 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF