Getting ready

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:

  1. You may install it using the following command in Ubuntu/Debian-based systems:
      $ sudo apt-get install swig
  1. Download the source of ldns using the following command:
      $ wget -nc http://www.nlnetlabs.nl/downloads/
ldns/ldns-1.7.0.tar.gz
  1. Unzip the archive:
      $ tar -xzf ldns-1.7.0.tar.gz
  1. Move to the ldns directory:
      $ cd ldns-1.7.0/
  1. Now you may install ldns:
          $ ./configure --prefix=/usr       
                      --sysconfdir=/etc       
                      --disable-static        
                      --disable-dane-ta-usage 
                      --with-drill 
                --with-pyldns           &&
          make
    
          $ sudo make install
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.139.97.202