H-Sphere Documentation Sysadmin Guide

For more information contact us at info@h-sphere.co.uk

Understanding DNS Server Configuration

 

Related Docs:  

Configuring Your DNS Settings Restarting the Named

 

General Information

H-Sphere DNS service uses the bind8.x package. It doesn't support bind9.x versions. As a result, if you use the Linux RedHat autoupdates, be careful not to update bind. You can totally disable DNS servers by stopping the named. If you disable signup on the server through H-Sphere web interface, old customers will keep using it, and new customers won't.

Resellers can run on dedicated and shared IPs. You can disable dedicated IP hosting for resellers. Read how to configure DNS for resellers.

 

DNS Config Files

The main configuration file location:
/etc/named.conf under Linux
/etc/namedb/named.conf under FreeBSD
It contains the following data:

--
options {
        directory "/hsphere/local/var/named";
        listen-on { 127.0.0.1;
        YOUR_IP_1;
        YOUR_IP_2;
        ...
        YOUR_IP_N; };
        transfer-source 127.0.0.1;
        pid-file "/hsphere/local/var/named/named.pid";
};

zone "." IN { type hint; file "local/named.ca"; };
zone "localhost" IN { type master; file "local/localhost.zone"; allow-update
{ none; }; };
zone "0.0.127.in-addr.arpa" IN { type master; file "local/named.local";
allow-update { none; }; };

include "zones_index.conf";
acl anyip{any;};
--

The main named directory both on master and slave DNS servers is /hsphere/local/var/named/
It contains the zones_index.conf file, the zones_(NUMBER).conf files and the zones(NUMBER) directories, where (NUMBER) = 1, 2, ... , 22
This structure contains H-Sphere DNS info and files. To find a zone, execute the following commands:
# cd /hsphere/local/var/named/
# grep "Zone.Name.com" *.conf
It will return the data which contains the zone file location. But please don't modify it manually, especially, if you don't understand what you do.

The localhost and 0.0.127.in-addr.arpa zones files are located in the /hsphere/local/var/named/local/ directory. If you need to add a custom zone, we recommend placing it into this directory. Note, though, that H-Sphere won't manage your custom zones, you will have to manage them manually.


Related Docs:  

Configuring Your DNS Settings Restarting the Named



Home   Products   Services   Partners   Support   News   Contact   Forum
© Altaire Limited.
All rights reserved.