Installing the Atomia DNS Bind-DLZ Nameserver.
Installation on Ubuntu LTS
- Install the latest Ubuntu LTS relase.
- Add the Atomia APT Repository to the server using:
- Install the Bind-DLZ package we provide:
- Install the Atomia DNS Bind-DLZ Nameserver:
- Install the Atomia DNS Client utility:
- Edit the configuration file:
- Change the soap_uri row to contain the hostname of your Atomia DNS Master server
- Add a row looking like ‘server_name = hostname of this node’
- Example configuration:
- If this is the first server in it’s nameserver group, then add the group (substitute groupname):
- Add the nameserver as a subscriber of the zones in the configured Atomia DNS Master server (substitute groupname):
- Start the daemon that fetches updates and replicates those to the local zone database:
- Initiate a full reload of all zones in the Atomia DNS Master sever (all nameservers are reloaded):
- Start BIND:
wget -q -O - http://public.apt.atomia.com/setup.sh.shtml | sed s/%distcode/`lsb_release -c | awk '{ print $2 }'`/g | sh
apt-get install bind9-dlz-bdbhpt
apt-get install atomiadns-nameserver
apt-get install atomiadns-client
edit /etc/atomiadns.conf
servername = your.name.server soap_uri = https://your.atomia.dns.master.server.com/atomiadns soap_cacert = /etc/atomiadns_soap_cert.crt soap_username = atomia soap_password = XXXXXX bdb_environment_path = /var/lib/bind/atomiadns_bdb bdb_filename = dns_data.db rndc_path = /usr/sbin/rndc slavezones_config = /etc/bind/slave/named-slavezones.conf.local slavezones_dir = /etc/bind/slave/zones
atomiadnsclient --method AddNameserverGroup --arg groupname
atomiadnssync add_server groupname
/etc/init.d/atomiadns-nameserver start
atomiadnssync full_reload_online
/etc/init.d/bind9-dlz-bdbhpt start
Installation on Redhat Enterprise Linux 4
- First setup GPG-keys for the needed repositories.
- Then configure up2date to use them, by adding to /etc/sysconfig/rhn/sources:
- Install the Atomia DNS master server:
- Install the Atomia DNS Client utility:
- Edit the configuration file:
- Change the soap_uri row to contain the hostname of your Atomia DNS Master server
- Add a row looking like ‘server_name = hostname of this node’
- Example configuration:
- If this is the first server in it’s nameserver group, then add the group (substitute groupname):
- Add the nameserver as a subscriber of the zones in the configured Atomia DNS Master server (substitute groupname):
- Start the daemon that fetches updates and replicates those to the local zone database:
- Initiate a full reload of all zones in the Atomia DNS Master sever (all nameservers are reloaded):
- Start BIND:
rpm -Uhv http://apt.sw.be/redhat/el4/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el4.rf.i386.rpm rpm -Uhv http://rpm.atomia.com/rhel4/atomia-repository-setup-1.0-1.noarch.rpm
yum atomia http://rpm.atomia.com/rhel4 yum dag http://apt.sw.be/redhat/el4/en/$ARCH/dag
up2date -i atomiadns-nameserver
up2date -i atomiadns-client
edit /etc/atomiadns.conf
servername = your.name.server soap_uri = https://your.atomia.dns.master.server.com/atomiadns soap_cacert = /etc/atomiadns_soap_cert.crt soap_username = atomia soap_password = XXXXXX bdb_environment_path = /var/lib/bind/atomiadns_bdb bdb_filename = dns_data.db rndc_path = /usr/sbin/rndc slavezones_config = /etc/bind/slave/named-slavezones.conf.local slavezones_dir = /etc/bind/slave/zones
atomiadnsclient --method AddNameserverGroup --arg groupname
atomiadnssync add_server groupname
service atomiadnssync start
atomiadnssync full_reload_online
service bind start
Software used by Atomia DNS Bind-DLZ Nameserver
On the nameservers the following software is needed:
- Config::General
- SOAP::Lite
- Moose
- BerkeleyDB
- Bind9 compiled with DLZ and the bdbhpt driver linked to the same bdb-version as the BerkeleyDB module
All needed software, including prerequisites are installed by the provided package, atomiadns-nameserver.