This is a simple DNS server project written in Go. It uses the miekg/dns library to handle the DNS protocol. I wrote this to learn more about DNS and Go.
This consists of 2 parts;
- A DNS server that responds to queries to
about
with a TXT record containing some information about me, like a resume. - A Simple webserver that serves a static page with simple documentation how to use this.
- Clone this repo
- Run
go build
to build the binary - Run
go run .
to start the DNS server This command starts a DNS server on port5030
- To make a query locally, run
dig @localhost -p 5030 about