This is a command line program that makes DNS queries. There's a version in bash and a version in Go.
The bash version:
bash resolve.sh example.com.
The go version:
go run resolve.go example.com.
- Rust: https://github.com/kmkaplan/tiny-resolver-rs
- Elixir: https://www.bortzmeyer.org/files/tiny-resolver.tar
- Python: https://www.bortzmeyer.org/files/tiny-resolver.py
You can read more about how this works in A toy DNS resolver