Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Latest commit

 

History

History
33 lines (17 loc) · 1.05 KB

File metadata and controls

33 lines (17 loc) · 1.05 KB

simpleDNS

Overview

A simple but full-functioned DNS server, designed for the Computer Networks course this semester. Both nslookup on Windows/Linux and dig on Linux are supported(Tested already). You can also change your local DNS server to it, and surf the internet freely(Tested already).

For the implementation, it is actually a local DNS server and remote DNS relay. We store some local records in json format, if the domain you are looking up for is in the file, we simply get the answer locally. If it is not, it will sent the query to another DNS server and when the response comes, we answer the query and dynamically update the config file. The detailed documentation is on the way.

Run

an example is as below:

python -m dnsrelay -d -autosave --server_ip xxx.xxx.xxx.xxx

For full information about the arguments, please use:

python -m dnsrelay -h

Contributors

@Weiran Huang

@Zengrui Wang

@Yuhao Lu