No description
  • C 99.4%
  • Makefile 0.4%
  • Shell 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-20 01:25:43 +02:00
include Add ORIGIN directive 2026-08-11 21:22:21 +02:00
src Barebones PTR implementation 2026-10-20 01:25:43 +02:00
.gitignore Initial commit 2026-08-10 22:06:26 +02:00
Makefile Fix potential memory leak / correctness 2026-09-29 00:21:55 +02:00
openrc-service Improve reliability and correctness in some scernarios 2026-08-11 03:20:22 +02:00
README.md Add README 2026-08-11 02:51:03 +02:00
test-acl ACL support 2026-08-23 01:27:19 +02:00
test-zone Barebones PTR implementation 2026-10-20 01:25:43 +02:00
wg-zone Add ORIGIN directive 2026-08-11 21:22:21 +02:00

dns-server

Very stupidly bad DNS server written in pure C with nob. Came to be because I wanted to see if I could have a fast and easy way of having DNS on Wireguard, and to learn DNS more intimately.
Builds with GNU make, binary bin/dns_server will be generated.

Usage: dns_server [-h host] [-p port] [-z zonefile]

-h host             any IPv4 literal, default 0.0.0.0
-p port             any positive number 1-65535, randomly generated by default
-z zonefile         path to a "zone file", see [the](./test-zone) [repo](./wg-zone) for examples