https://github.com/bengesoff/maybe-dns
A toy project mainly to exercise my new keyboard but also to refresh a bit on Rust. Initial plan is to do something with DNS, hence the name, and so far implements a basic server that sort of parses the DNS query and echoes it back.
https://github.com/bengesoff/maybe-dns
Last synced: about 2 months ago
JSON representation
A toy project mainly to exercise my new keyboard but also to refresh a bit on Rust. Initial plan is to do something with DNS, hence the name, and so far implements a basic server that sort of parses the DNS query and echoes it back.
- Host: GitHub
- URL: https://github.com/bengesoff/maybe-dns
- Owner: bengesoff
- Created: 2021-05-09T12:17:48.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-13T20:33:17.000Z (about 4 years ago)
- Last Synced: 2025-02-12T06:58:38.331Z (3 months ago)
- Language: Rust
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `maybe-dns`
A toy project mainly to exercise my new keyboard but also to refresh a bit on Rust.
Initial plan is to do something with DNS, hence the name, and so far implements a basic server that sort of parses the DNS query and echoes it back.
Thanks to DNS's query and response format being fairly similar (the same but with different flags set), using `dig` with it doesn't get too confused.To test, run `cargo run` in one terminal, then use `dig` in another terminal similarly to below:
```
dig @127.0.0.1 -p 1053 random.domain.to.lookup
```Not sure what I'll implement next.
It would be a good idea to "de-mank" the code so maybe I'll do that.
Or maybe I won't as it's only for me anyway.