1. how to install gdnsd

    let’s begin:
    ssh into destination machine
    get latest gdnsd:
    wget https://github.com/blblack/gdnsd/archive/master.zip
    unzip master.zip

    get into the unpacked folder
    cd gdnsd-master/

    Install dependencies :
    apt-get install libev-dev libcap-dev ragel
    create user gdnsd:
    useradd gdnsd
    run autogen
    ./autogen.sh
    run configure
    ./configure --with-rootdir=/home/gdnsd --prefix=/home/gdnsd --exec-prefix=/home/gdnsd
    make && make install
    now you’re done.
    one more thing… 🙂
    you need to get geoip database, this database can be downloaded from maxmind
    wget -q -O "/home/gdnsd/etc/geoip/GeoLiteCity.dat.gz" http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz

    תגיות: , , , , ,