User Tools

Site Tools


This is an old revision of the document!

Kamailio with DNSEC

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:

  • install Kamailio development version from GIT repository on Ubuntu 12.04 32b
  • enable user authentication and persistent location service using MySQL server
  • add DNSSEC support to configuration file

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:

DNSSEC Tools Installation

The dnssec-tools package should be available on recent Debian/Ubuntu, to install it us:

  apt-get install dnssec-tools

DNSSEC Tools Devel Libraries Installation

You need these libraries to compile Kamailio's DNSSEC module. You can download the libraries from:

The files are:


Once you download the deb files, install them with dpkg -i …

Kamailio Installation

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

Fetch Sources from GIT Repository

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:// kamailio
  cd kamailio

Compile and Install

Run next set of commands:

  cd /usr/local/src/kamailio-devel/kamailio
  make cfg include_modules="db_mysql dnssec"
  make all
  make install
tutorials/dns/dnssec.1366544993.txt.gz · Last modified: 2013/04/21 13:49 by miconda