/dinosaur

A toy DNS resolver that follows the journey of an ASCII dinosaur. Inspired by "Implement DNS in a weekend" by Julia Evans.

Primary LanguageGo

dinosaur

A toy DNS resolver, inspired by Implement DNS in a weekend by Julia Evans.


dinosaur logo

Demo

demo.mp4

Development

Install Nix on your system, then run nix build to build the package. The resulting application can be run from result/bin/dinosaur. With direnv installed, you can run direnv allow to set up a new shell containing all the development tools.

Adding dependencies

Add the import to your .go file, then run go mod tidy to trigger an update of the go.mod file. Update the gomod2nix.toml and Nix store using gomod2nix generate.