An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

[![Contributors][contributors-shield]][contributors-url]
[![Issues][issues-shield]][issues-url]




Toy DNS resolver


Table of Contents



  1. About The Project



  2. Getting Started


  3. License

  4. Contact

  5. Acknowledgments

## 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! 🌙

(back to top)

### Built With

- [![Lua][Lua-badge]][Lua-url]

(back to top)

## 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
```

(back to top)

## License

The source code is freely distributed under the MIT License. See `LICENSE.txt` for more information.

(back to top)

## Contact

Conor C. Peterson - [@[email protected]](https://social.linux.pizza/@wemic) - [email protected]

(back to top)

## Acknowledgments

- [Implement DNS in a weekend](https://implement-dns.wizardzines.com/) by [Julia Evans](https://jvns.ca/) for [Wizard Zines](https://wizardzines.com/)

(back to top)

[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/