[bind10-dev] Eating the Dogfood: 2010-10-12 report

Shane Kerr shane at isc.org
Tue Oct 12 13:01:04 UTC 2010


All,

I committed to running BIND 10 on my own server, and this is what I did
with the latest code.

First off, the machine I am using for this is a shared server. It is
running Debian stable, and has multiple IP addresses so I can do this
without taking the service down.


Installation Woes
-----------------
The main problem here is that Debian stable is full of old stuff. I
pulled a bunch of stuff from Debian testing in order to get the build
working:

http://packages.debian.org/squeeze/python3.1
http://packages.debian.org/squeeze/python3.1-minimal
http://packages.debian.org/squeeze/libdb4.8
http://packages.debian.org/squeeze/libncursesw5
http://packages.debian.org/squeeze/libreadline6
http://packages.debian.org/squeeze/libncurses5
http://packages.debian.org/squeeze/libsqlite3-0
http://packages.debian.org/squeeze/libssl0.9.8
http://packages.debian.org/squeeze/python3.1-dev
http://packages.debian.org/squeeze/libpython3.1
http://packages.debian.org/squeeze/libffi5
http://packages.debian.org/squeeze/libsqlite3-dev

Things didn't seem to work very well even though it built. I wanted to
get the cool new process naming stuff, so I installed that from source
(the latest Debian package does not work with Python 3.1):

$ wget http://pypi.python.org/packages/source/s/setproctitle/setproctitle-1.1.tar.gz
$ tar xzf ~/downloads/setproctitle-1.1.tar.gz
$ tar xzf ~/downloads/setproctitle-1.1.tar.gz
$ python3.1 setup.py build
$ sudo python3.1 setup.py install

Things didn't seem to work good, so I decided to use the latest
Subversion instead of the development snapshot. I needed a few more
packages, but the stable versions were fine:

$ aptitude install autoconf
$ aptitude install libtool

This wouldn't even build, but eventually I found out I needed a newer
automake:

http://packages.debian.org/squeeze/automake
http://packages.debian.org/squeeze/autoconf

py-compile before 1.11 doesn't work with Python 3.x.

Anyway, when everything was finally there, the magic was quite easy:

$ ./configure --prefix=/opt/bind10
$ make
$ make install


Running the Service
-------------------
I ran the program using "screen", for testing:

$ /opt/bind10/sbin/bind10 --address=85.17.60.232 --verbose

I used bindctl to set the master channel:

> config set Xfrin/master_addr 85.17.60.159
> config commit

I loaded my zone:

$ dig @madras.curryboys.net -t axfr time-travellers.nl.eu.org > delme.tmp
$ /opt/bind10/bin/b10-loadzone delme.tmp

This caused a minor problem, because there are two SOA records in the
file. I noted this in the b10-loadzone ticket for using writable data
sources:

https://bind10.isc.org/ticket/368


Status
------
The server runs, receives NOTIFY, does XFRIN, does XFROUT, and answers
queries.

Things are running on the normal port 53, with reduced permissions, and
even a pretty name.

I'm serving:

  TIME-TRAVELLERS.ORG
  TIME-TRAVELLERS.NL.EU.ORG

As a secondary.

--
Shane




More information about the bind10-dev mailing list