This is an old revision of the document!
The dnssec module was added during the development of v4.1.0 (expected to be released later in 2013). Therefore this tutorial presents how to add DNSSEC module in the default configuration file of Kamailio, following GIT installation guidelines.
In short, this tutorial focuses on:
Note: Ubuntu 12.04 was chosen because dnssec tools devel library are provided for this distribution.
For reading more about DNSSEC, head to:
Many related resources, including the required libraries for Kamailio's DNSSEC module, are available at:
The dnssec-tools package should be available on recent Debian/Ubuntu, to install it us:
apt-get install dnssec-tools
You need these libraries to compile Kamailio's DNSSEC module. You can download the libraries from:
The files are:
dns-validator_2.0-1_i386.deb libval-threads_2.0-1_i386.deb libsres_2.0-1_i386.deb libval-threads-dev_2.0-1_i386.deb libsres-dev_2.0-1_i386.deb
Once you download the deb files, install them with dpkg -i …
Here is a quick guide to install Kamailio development version from GIT repository. If you look for a more detailed tutorial, check:
Install the packages needed to build Kamailio:
apt-get install make autoconf gcc flex bison git-core apt-get install libmysqlclient-dev libssl-dev
First of all, you have to create a directory on the file system where the sources will be stored.
mkdir -p /usr/local/src/kamailio-devel cd /usr/local/src/kamailio-devel
Download the sources from GIT using the following commands.
git clone --depth 1 git://git.sip-router.org/sip-router kamailio cd kamailio
Run next set of commands:
cd /usr/local/src/kamailio-devel/kamailio make cfg include_modules="db_mysql dnssec" make all make install
The binaries and executable scripts were installed in:
/usr/local/sbin
These are:
To be able to use the binaries from command line, make sure that '/usr/local/sbin' is set in PATH environment variable. You can check that with 'echo $PATH'. If not and you are using 'bash', open '/root/.bash_profile' and at the end add:
PATH=$PATH:/usr/local/sbin export PATH
Kamailio modules are installed in:
/usr/local/lib/kamailio/modules/
Note: On 64 bit systems, /usr/local/lib64 may be used.
The documentation and readme files are installed in:
/usr/local/share/doc/kamailio/
The man pages are installed in:
/usr/local/share/man/man5/ /usr/local/share/man/man8/
The configuration file was installed in:
/usr/local/etc/kamailio/kamailio.cfg