Skip to content

hirokikana/femtoDNS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

very small DNS server written in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages