13 lines
336 B
Markdown
13 lines
336 B
Markdown
# 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
|
|
```
|
|
|