The default installation of the Atomia DNS Master server.
Overview
This guide will install the Atomia DNS Master server using a default installation. This means that both the Atomia DNS database and Atomia DNS API will be installed.
Installation on Ubuntu 10.04 LTS
- Do a standard installation of Ubuntu 10.04 LTS.
- Add the Atomia APT Repository to the server using:
- Update all packages:
- Install the Atomia DNS Master:
- Add the initial DNSSEC keyset (optional):See Creating the initial DNSSEC keyset for instructions.
1 | wget -q -O - http: //public .apt.atomia.com /setup .sh.shtml | sed s/%distcode/`lsb_release -c | awk '{ print $2 }' ` /g | sh |
1 | apt-get update |
1 | apt-get install atomiadns-masterserver |
Installation on FreeBSD
- Do a standard installation of FreeBSD. The instructions where tested with FreeBSD 10.0-RELEASE, but should work on other versions as well.
- Make sure you have an up-to-date ports collection, as described in the FreeBSD handbook.
1 | cd /usr/ports/dns ; fetch -q -o - http: //atomiadns .com /tarballs/bleeding . tar .gz | tar xvfpz - --strip-components 2 "*/freebsd" |
- Install PostgreSQL:
- Install Atomia DNS:
1 | cd /usr/ports/databases/postgresql91-server make BATCH= yes install echo 'postgresql_enable="YES"' >> /etc/rc .conf /usr/local/etc/rc .d /postgresql initdb /usr/local/etc/rc .d /postgresql start |
1 | cd /usr/ports/dns/atomiadns-database make BATCH= yes install test x "$SHELL" = x "/bin/bash" && hash -r ; echo "$SHELL" | grep csh > /dev/null && rehash atomiadns- sync -database cd /usr/ports/dns/atomiadns-api echo "DEFAULT_VERSIONS+=apache=2.2" >> /etc/make .conf make BATCH= yes install cd /usr/ports/dns/atomiadns-client make BATCH= yes install echo 'apache22_enable="YES"' >> /etc/rc .conf |
- Optionally password protect the Atomia DNS installation (very much recommended):
- Test the installation by creating your first (and often only) nameserver group:
- Add the initial DNSSEC keyset (optional): See Creating the initial DNSSEC keyset for instructions.
1 | cat > /usr/local/etc/apache22/Includes/atomiadns_password_protect .conf <<EOF <Location /> AuthUserFile /usr/local/etc/apache22/atomiadns .htpasswd AuthName "Atomia DNS" AuthType Basic require valid-user < /Location > EOF # Remember the password that you enter, it is used in the next step, and later when you add nameservers. htpasswd -c /usr/local/etc/apache22/atomiadns.htpasswd atomiadns apachectl graceful |
1 | echo 'soap_username=YOUR_OPTIONAL_BUT_OBVIOUSLY_HIGHLY_RECOMMENDED_API_SERVER_USERNAME' >> /etc/atomiadns .conf echo 'soap_password=YOUR_OPTIONAL_BUT_OBVIOUSLY_HIGHLY_RECOMMENDED_API_SERVER_PASSWORD' >> /etc/atomiadns .conf atomiadnsclient --method AddNameserverGroup --arg default |
Installation on Redhat Enterprise Linux 4
- First setup the needed repositories.
- Next install the Atomia DNS master server
- Allow md5 authentication instead of ident for connections to 127.0.0.1/32 in /var/lib/pgsql/data/pg_hba.conf, example row:
- Restart postgresql:
1 | 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: //yum .pgsqlrpms.org /reporpms/8 .4 /pgdg-redhat-8 .4-1.noarch.rpm rpm -Uhv http: //rpm .atomia.com /rhel4/atomia-repository-setup-1 .0-1.noarch.rpm |
1 | up2date -i atomiadns-masterserver |
1 | host all all 127.0.0.1 /32 md5 |
1 | service postgresql restart |
Installation on Redhat Enterprise Linux 5
- First setup the needed repositories.
- Next install the Atomia DNS master server
- Allow md5 authentication instead of ident for connections to 127.0.0.1/32 in /var/lib/pgsql/data/pg_hba.conf, example row:
- Restart postgresql:
1 | rpm -Uhv http: //apt .sw.be /redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0 .3.6-1.el5.rf.i386.rpm rpm -Uhv http: //yum .pgsqlrpms.org /reporpms/8 .4 /pgdg-redhat-8 .4-1.noarch.rpm rpm -Uhv http: //rpm .atomia.com /rhel5/atomia-repository-setup-1 .0-1.noarch.rpm |
1 | yum install atomiadns-masterserver |
1 | host all all 127.0.0.1 /32 md5 |
1 | service postgresql restart |
Installation on Redhat Enterprise Linux 6
- First setup the needed repositories.
- Next install the Atomia DNS master server
- Allow md5 authentication instead of ident for connections to 127.0.0.1/32 in /var/lib/pgsql/data/pg_hba.conf, example row:
- Restart postgresql:
1 | rpm -Uhv http: //apt .sw.be /redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0 .5.2-2.el6.rf.i686.rpm rpm -Uhv http: //yum .pgsqlrpms.org /reporpms/8 .4 /pgdg-redhat-8 .4-1.noarch.rpm rpm -Uhv http: //public .rpm.atomia.com /rhel6/atomia-public-repository-setup-1 .0-1.el6.noarch.rpm |
1 | yum install atomiadns-masterserver |
1 | host all all 127.0.0.1 /32 md5 |
1 | service postgresql restart |