Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 358 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 358 Bytes

dns server

Simple DNS server. Only queries of type A are impolemented. To use this server, you need to start python3 main.py. The initial port is 13337, and ip is set to localhost, but you are able to change it in cfg.py. You can also change dns root server, if you need it. Sample of using:

python3 main.py &

dig google.com -p 13337 @127.0.0.1