Installation¶
Note
These instructions apply to slimDNS .
slimDNS is a pure python library, so no special steps are required for installation. You can install it in a variety of ways described below though for your convenience.
Using pip¶
pip install slimDNS
Clone using git¶
git clone https://github.com/Torxed/slimDNS.git
But most likely you’ll want to submodule this in a project. To do that, I would recommend not following master as it’s actively developed. Any release/tag should be good enough for production.
cd project/dependencies
git submodule add -b v1.0 https://github.com/Torxed/slimDNS.git
Which would follow the stable release branch of v1.0 where tests should be done before release.
Manually unpacking source¶
The source code archives (including git) includes examples. Archives are available on Github:
unzip slimDNS-x.x.x.zip
cd slimDNS-x.x.x
python examples/dns_server.py