Search Engine: Elastic

Article ID: 117666, created on Oct 2, 2013, last review on Apr 25, 2014

  • Applies to:
  • H-Sphere 3.6.2

Symptoms

After migration some domains can not be resolved by H-sphere Name Servers (DNS).

Cause

Zone file don't contains enough records or contains none of A records

cat /hsphere/local/var/named/zonesX/XX/somedomain.com
$ORIGIN .
$TTL 86400      ; 1 day
somedomain.com          IN SOA  ns1.ourhosting.com. webmaster.ourhosting.com. (
                                2013090133 ; serial
                                10800      ; refresh (3 hours)
                                3600       ; retry (1 hour)
                                604800     ; expire (1 week)
                                86400      ; minimum (1 day)
                                )
                        NS      ns1.ourhosting.com.
                        NS      ns2.ourhosting.com.

Resolution

Linux:

su -l cpanel  
java -Xms64M -Xmx512M psoft.hsphere.tools.DNSCreator -m <creation_method> [-dz] -z <zone_name>  

FreeBSD:

Find java binary.

find / -name java

Restore domain zone from H-Sphere database using DNSCreator script under cpanel user.

su -l cpanel
/hsphere/shared/java/diablo-jdk1.6.0/bin/java -Xms64M -Xmx512M psoft.hsphere.tools.DNSCreator -m db -z somedomain.com

More information about DNSCreator you can find in the System Administrator Guide

e5eac925e853cc7ef3f6055683c98fbb 6311ae17c1ee52b36e68aaf4ad066387 f213b9fa8759d57bee5d547445806fe7 2e39a5e5b1423cc126cf735bac076008

Email subscription for changes to this article
Save as PDF