Initial commit

This commit is contained in:
Corentin 2025-12-26 18:43:44 +09:00
commit a061edf3a7
Signed by: corentin
GPG key ID: 48C87E27C6C917F4
3 changed files with 629 additions and 0 deletions

13
README.md Normal file
View file

@ -0,0 +1,13 @@
# PyDNS
Small educational python implementation of DNS protocol. Prints information as the `dig` tool for easier comparison.
## Usage
Simply run `dig.py` with 2 parameters, a `nameserver` (like 8.8.8.8 or your local router like 192.168.0.1) and the URL to lookup. Like the following:
``` sh
python dig.py 8.8.8.8 codeberg.org
```