Single DNS configuration enables to allocate two or more DNS servers on one physical box.
In this mode, H-Sphere emulates full-featured DNS configuration where each DNS server has
its own bound IP. This allows customers with a single box installation
to use services, such as OpenSRS domain registration,
that require at least two DNS servers.
To put an extra DNS server to single DNS configuration, go through the following steps:
- Bind the new DNS server IP on the physical box.
- Add this new IP to the listen-on section of the
named configuration file (/etc/named.conf for Linux, /etc/namedb/named.conf
for FreeBSD):
options {
...
listen-on { ... new-IP; ... };
...
};
Read more about DNS configuration
here.
- Copy the three scripts from the /hsphere/shared/scripts/SingleDNS/ directory
into the /hsphere/shared/scripts/ directory replacing the existing scripts.
cd /hsphere/shared/scripts/SingleDNS/
cp * ../
cd ..
- Run the fix_perm.sh script to set correct permissions to H-Sphere scripts:
./fix_perm.sh
-
Add the new DNS logical server.
- In DNS manager,
add custom A record with the new DNS logical server.
- Log in as cpanel user and run DNSCreator:
su -l cpanel
java psoft.hsphere.tools.DNSCreator -m rand
Read more on DNSCreator options.
|