Resolve domain names and saves the ips in a database (cache).
Switch branches/tags
Clone or download
Pull request Compare This branch is 5 commits behind alexsilva:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
mindns
scripts
.gitignore
README.md
requirements.txt
setup.py

README.md

MINI-DNS-Server

MINI DNS Server: Resolve domain names and saves the ips in a database (cache).

Uses an internal list of the best current dns servers. When a server responds correctly, your rating is close to zero and this causes it to be used in the next interactions. Not always a dns server responds correctly, it causes another to be used in place of what was best.

Works on Python 3.2+

Installing

  • Clone the repository

  • Install the requirements::

    pip install -r requirements.txt

  • Install the library::

    python setup.py install

Running

The server can be started with the mdns.py script. For example::

mdns.py --detach