Skip to content
very small DNS server written in Python
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
hosts
start.py

README.md

femtoDNS

femtoDNS is very small DNS server written in Python.

Description

femtoDNS have no benefit because purpose in learn DNS protocol. This implemented by RFC 1035

Requirement

  • Python 3.7>

Usage

Run DNS server localhost:9999

$ python start.py

Any request query to femtoDNS using dig

$ dig +short @127.0.0.1 -p 9999 localhost
127.0.0.1

To resolve any hostname, you need hosts file add IP address / hostname pair. hosts file is exists in current directory.

Example:

127.0.0.1	localhost
127.0.0.1	test

Licence

MIT

You can’t perform that action at this time.