Atomia DNS

Installation

24 views 0

Installing the Atomia DNS Bind-DLZ Nameserver.

Installation on Ubuntu LTS

  1. Install the latest Ubuntu LTS relase.
  2. Add the Atomia APT Repository to the server using:
  3. wget -q -O - http://public.apt.atomia.com/setup.sh.shtml | sed s/%distcode/`lsb_release -c | awk '{ print $2 }'`/g | sh
    
  4. Install the Bind-DLZ package we provide:
  5. apt-get install bind9-dlz-bdbhpt
    
  6. Install the Atomia DNS Bind-DLZ Nameserver:
  7. apt-get install atomiadns-nameserver
    
  8. Install the Atomia DNS Client utility:
  9. apt-get install atomiadns-client
    
  10. Edit the configuration file:
  11. edit /etc/atomiadns.conf
    
    1. Change the soap_uri row to contain the hostname of your Atomia DNS Master server
    2. Add a row looking like ‘server_name = hostname of this node’
    3. Example configuration:
    4. 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
      
  12. If this is the first server in it’s nameserver group, then add the group (substitute groupname):
  13. atomiadnsclient --method AddNameserverGroup --arg groupname
    
  14. Add the nameserver as a subscriber of the zones in the configured Atomia DNS Master server (substitute groupname):
  15. atomiadnssync add_server groupname
    
  16. Start the daemon that fetches updates and replicates those to the local zone database:
  17. /etc/init.d/atomiadns-nameserver start
    
  18. Initiate a full reload of all zones in the Atomia DNS Master sever (all nameservers are reloaded):
  19. atomiadnssync full_reload_online
    
  20. Start BIND:
  21. /etc/init.d/bind9-dlz-bdbhpt start
    

Installation on Redhat Enterprise Linux 4

  1. First setup GPG-keys for the needed repositories.
  2. 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
    
  3. Then configure up2date to use them, by adding to /etc/sysconfig/rhn/sources:
  4. yum atomia http://rpm.atomia.com/rhel4 yum dag http://apt.sw.be/redhat/el4/en/$ARCH/dag
    
  5. Install the Atomia DNS master server:
  6. up2date -i atomiadns-nameserver
    
  7. Install the Atomia DNS Client utility:
  8. up2date -i atomiadns-client
    
  9. Edit the configuration file:
  10. edit /etc/atomiadns.conf
    
    1. Change the soap_uri row to contain the hostname of your Atomia DNS Master server
    2. Add a row looking like ‘server_name = hostname of this node’
    3. Example configuration:
    4. 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
      
  11. If this is the first server in it’s nameserver group, then add the group (substitute groupname):
  12. atomiadnsclient --method AddNameserverGroup --arg groupname
    
  13. Add the nameserver as a subscriber of the zones in the configured Atomia DNS Master server (substitute groupname):
  14. atomiadnssync add_server groupname
    
  15. Start the daemon that fetches updates and replicates those to the local zone database:
  16. service atomiadnssync start
    
  17. Initiate a full reload of all zones in the Atomia DNS Master sever (all nameservers are reloaded):
  18. atomiadnssync full_reload_online
    
  19. Start BIND:
  20. 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.

Was this helpful?