There are more Python-based applications that offer a complete DNS looking glass solution. Dyn dns_lg (https://github.com/dyninc/dns_lg) is a DNS looking glass solution that depends on ldns (http://www.linuxfromscratch.org/blfs/view/cvs/basicnet/ldns.html), a fast and efficient DNS library and ldns-python package. ldns depends on SWIG interface compiler (http://www.swig.org) to connect its core modules developed in C and Python code used. Make sure you have SWIG installed on your computer:
- You may install it using the following command in Ubuntu/Debian-based systems:
$ sudo apt-get install swig
- Download the source of ldns using the following command:
$ wget -nc http://www.nlnetlabs.nl/downloads/
ldns/ldns-1.7.0.tar.gz
- Unzip the archive:
$ tar -xzf ldns-1.7.0.tar.gz
- Move to the ldns directory:
$ cd ldns-1.7.0/
- Now you may install ldns:
$ ./configure --prefix=/usr --sysconfdir=/etc --disable-static --disable-dane-ta-usage --with-drill --with-pyldns && make $ sudo make install