Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > e45a7343e28744b2cefda15ce207a72b > files > 3

zonemanip-0.1.4-6mdv2010.0.i586.rpm

$Id: INSTALL,v 1.5 2003/06/11 15:44:47 boll Exp $

In the following, I am assuming that you have already configured pdns
to work with MySQL.
To install zonemanip, please do the following on a Debian GNU/Linux
system:

$ tar -zxvf zonemanip-<version>.tar.gz
# apt-get install libdbi0-dev libdbd-mysql libshhopt1-dev
$ cd zonemanip
$ mysql -u <youruser> -p<yourpass> <yourdb> < db.sql
$ ./configure
$ make
# make install
Because pdns.conf (which contains the username and password used to 
access the database) is readable only by root, zonemanip needs to 
run suid root, so you need to do the following:
# chmod 4755 /usr/bin/zonemanip

OR:

add one of the following lines to /etc/apt/sources.list:

deb http://people.debian.org/~boll woody main
deb http://people.debian.org/~boll sid main

and do:
# apt-get install zonemanip
$ mysql -u <youruser> -p <yourpass> <yourdb> < db.sql

If you are not on a Debian GNU/Linux machine, you need to adapt the 
above description to suit your needs.
The code should however compile and run on most unixes, 
please report errors and successes to me at boll@fork.dk.

That's it.