Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 244 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 244 Bytes

Run the DNS server:

sudo python3 dns-cache.py

In a separate terminal, query information using dig

dig google.com A @127.0.0.1

This command queries the DNS server running on 127.0.0.1 for the A record of google.com.