Article ID: 123628, created on Nov 21, 2014, last review on Nov 21, 2014

  • Applies to:
  • H-Sphere 3.6.3

Symptoms

DNS is exposing private IP addresses for DNS servers:

    NS1.SERVICEDOMAIN.COM   
    NS2.SERVICEDOMAIN.COM   
    NS3.SERVICEDOMAIN.COM   

NSLOOKUP returns internal IPs as well.

# nslookup NS1.SERVICEDOMAIN.COM localhost
Server:         localhost
Address:        127.0.0.1#53

Name:   ns1.servicedomain.com
Address: 77.77.77.13
Name:   ns1.servicedomain.com
Address: 10.39.24.13

NAT has always been setup but for some reason the private IPs are now showing as well as public.

Cause

Software issue.

Resolution

1.backup existing DNS zone files
2.replace class file (do not forget to take backup)

/hsphere/local/home/cpanel/hsphere/WEB-INF/classes/psoft/hsphere/resource/system/DNSServices.class

with the attached one:
DNSServices.class

  1. change owner:

    chown root.cpanel /hsphere/local/home/cpanel/hsphere/WEB-INF/classes/psoft/hsphere/resource/system/DNSServices.class
    
  2. Restart H-sphere service

    service httpdcp restart
    

6b908665c0d1eca5bdd0141a32fd712a 6311ae17c1ee52b36e68aaf4ad066387 f213b9fa8759d57bee5d547445806fe7 2e39a5e5b1423cc126cf735bac076008

Email subscription for changes to this article
Save as PDF