No description
| benchmark_local.sh | ||
| benchmark_remote.sh | ||
| dns_benchmark.py | ||
| dns_dgram_utils.c | ||
| dns_dgram_utils.h | ||
| dns_relay.c | ||
| dns_relay.h | ||
| dns_relay_utils.h | ||
| Makefile | ||
| mappings | ||
| README.md | ||
dns_relay
This is a simple DNS relay server written in C.
Prerequisites
- gcc (have tested on 15.2.1)
- make (have tested on 4.4.1)
sudo apt update
sudo apt install gcc make
Build
This project use Makefile to build
make
Run
(require sudo privilege for port 53)
make run
Test
The host file is in ./hosts, you can modify as your will.
nslookup www.test1.com 127.0.0.1