Skip to content

simple dns-server which iteratively gets domain's public ip-address

Notifications You must be signed in to change notification settings

contrust/dns-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DNS-server

Simple DNS-server which iteratively gets domain's public ip.

Usage

  • Get config for running the server
sudo python3 -m server -g config.json
  • Run server with config
sudo python3 -m server -r config.json
Command Description
python3 -m server -h Show help message
python3 -m server -g config_path Get config file in given path
python3 -m server -r config_path Run server with given config

Features

  • Handling multiple clients on server with multithreading
  • Caching responses based on ttl
  • TCP and UDP requests handling
  • Several types of records are available: A and AAAA
  • If the request contains ".multiply.", then server responds with IP 127.0.0.X, where X - product of numbers up to "multiply" modulo 256

Author

Artyom Borisov

About

simple dns-server which iteratively gets domain's public ip-address

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages