Installing and configuring a name server
Software used in example:
- Ubuntu LTS
- MySQL Database
- PowerDNS
- Atomia DNS PowerDNS Sync
- Install the latest Ubuntu LTS relase.
- Become root
- Add the Atomia APT Repository:
wget -q -O - http://public.apt.atomia.com/setup.sh.shtml | sed s/%distcode/`lsb_release -c | awk '{ print $2 }'`/g | sh
- Install the database schema (will also install MySQL):
apt-get install atomiadns-powerdns-database
- To configure the nameserver to get zones from your Atomia DNS installation, add
soap_uri
,soap_cacert
,soap_username
andsoap_password
to/etc/atomiadns.conf
:soap_uri = https://some.server.example.com/atomiadns
soap_cacert = /path/to/CA_cert_that_signed_SSL_cert
soap_username = someuse soap_password = somepass
- Also to
/etc/atomiadns.conf
add the subscriber name for this nameserver:servername = powerdns1
- Install the PowerDNS sync agent:
apt-get install atomiadns-powerdnssync
- Create a nameserver group using the Atomia DNS API or (as in the example below) the
atomiadnsclient
(Replacedefault
with your desiered name):atomiadnsclient --method AddNameserverGroup --arg default
- Add the nameserver as subscriber of the zones (replace default with whatever server group it is to be member of):
atomiapowerdnssync add_server default
- Start the daemon:
/etc/init.d/atomiadns-powerdnssync start
- Sync all zones:
atomiapowerdnssync full_reload_online
- Go to http://powerdnssec.org/downloads/packages/ and download the latest .deb package.
-
Install it using (replace filename):
dpkg -i pdns-static_3.0-rc1-1_amd64.deb
When it asks if you want to replace
/etc/powerdns/pdns.conf
, just press enter to keep the version thatatomiadns-powerdns-database
preconfigured for you.
More information:
- Atomia DNS manual – for detailed installation instructions and troubleshooting
- Join our Google group