https://github.com/wem1c/weekend_dns_lua
Toy DNS resolver written in Lua
https://github.com/wem1c/weekend_dns_lua
dns lua
Last synced: 3 months ago
JSON representation
Toy DNS resolver written in Lua
- Host: GitHub
- URL: https://github.com/wem1c/weekend_dns_lua
- Owner: wem1c
- Created: 2024-03-18T22:15:47.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-21T13:43:29.000Z (about 1 year ago)
- Last Synced: 2025-01-13T22:16:17.460Z (5 months ago)
- Topics: dns, lua
- Language: Lua
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Contributors][contributors-shield]][contributors-url]
[![Issues][issues-shield]][issues-url]
Toy DNS resolver
Table of Contents
## About The Project
This is the result of following [Julia Evans'](https://jvns.ca/) [Wizard Zines](https://wizardzines.com/) guide called [Implement DNS in a weekend](https://implement-dns.wizardzines.com/).
One of Julias' difficulty-increasing optional recommendations was to reimplement the original Python code in a different language of our choosing.
I chose to do it in Lua! 🌙
### Built With
- [![Lua][Lua-badge]][Lua-url]
## Getting Started
### Prerequisites
- [Lua](https://www.lua.org/download.html)
- [LuaRocks](https://github.com/luarocks/luarocks/wiki/Download) - for installing dependencies### Installation
1. Clone the repo
```sh
git clone https://github.com/wem1c/weekend_dns_lua.git
```2. Open the project folder in your terminal
```sh
cd weekend_dns_lua
```3. Install dependencies
```sh
luarocks install luasocket
```4. Run the entry file using lua
```sh
lua weekend_dns.lua
```## License
The source code is freely distributed under the MIT License. See `LICENSE.txt` for more information.
## Contact
Conor C. Peterson - [@[email protected]](https://social.linux.pizza/@wemic) - [email protected]
## Acknowledgments
- [Implement DNS in a weekend](https://implement-dns.wizardzines.com/) by [Julia Evans](https://jvns.ca/) for [Wizard Zines](https://wizardzines.com/)
[contributors-shield]: https://img.shields.io/github/contributors/wem1c/weekend_dns_lua.svg?style=for-the-badge
[contributors-url]: https://github.com/wem1c/weekend_dns_lua/graphs/contributors
[issues-shield]: https://img.shields.io/github/issues/wem1c/weekend_dns_lua.svg?style=for-the-badge
[issues-url]: https://github.com/wem1c/weekend_dns_lua/issues
[Lua-badge]: https://img.shields.io/badge/lua-000080?style=for-the-badge&logo=lua
[Lua-url]: https://www.lua.org/