clacladev / basic-dns-server-rust

This is a basic DNS server implementation in Rust. This is a small learning and research project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Basic DNS Server in Rust

This is a basic DNS server implementation in Rust. This is a small learning and research project.

How to run

  1. Ensure you have cargo (1.70) installed locally
  2. In the terminal run ./your_server.sh to run your DNS server
  3. In another terminal run dig @127.0.0.1 -p 2053 +noedns example.com to query the server

How to test

Run cargo test to run the tests

Resources

About

This is a basic DNS server implementation in Rust. This is a small learning and research project.


Languages

Language:Rust 98.7%Language:Shell 1.3%