Categories
Kamailio SIP VoIP

Kamailio: Basic SIP Proxy (all requests) Setup

In this example, I will share how to setup Kamailio to proxy SIP requests to a SIP switch (such as FreeSWITCH or Asterisk). 192.168.1.101 is the IP of Kamailio 192.168.1.102 is the IP of FreeSWITCH or Asterisk Here are snippets from the main config script, kamailio.cfg: … #!define IPADDRESS “192.168.1.101” #!define SWITCH_IPADDRESS “192.168.1.102” #!define FLAG_FROM_SWITCH […]

Categories
DNS

Syncing DNS Zones from Windows DNS Server to Linux Bind9 DNS Server

Windows Setup First step is to dump the DNS zones from Windows into a file. Then generate an FTP command file which will upload the DNS zone file dump to your bind server. I’ve created a batch script to handle all of this: @echo off dnscmd /enumzones > dns.zones.txt echo user ftp_bind_user> ftpcmd.dat echo ftp_bind_password>> […]

Categories
DNS

Compiling bind9 on linux with Response Rate Limiting (to prevent DDoS DNS attacks)

This tutorial can easily be applied to most any linux system. I went through these steps on Debian 7 server. First let’s setup the environment, this tutorial assumes you have no previous install of bind on the server. mkdir -p /var/local/cache/bind mkdir -p /usr/local/etc/bind We are assuming group id and user id 5005 are free, […]