Skip to content

Instantly share code, notes, and snippets.

View naserjr23's full-sized avatar
💭
I may be slow to respond.

Naser Jarrar naserjr23

💭
I may be slow to respond.
View GitHub Profile
@naserjr23
naserjr23 / script.sh
Created January 8, 2026 07:13 — forked from paulogdm/script.sh
Useful `dig` and `curl` commands
# Query any record
dig A paulogdm.com
dig NS paulogdm.com
dig CNAME www.paulogdm.com
# Query any record using a specific DNS resolver
dig A paulogdm.com @1.1.1.1
dig A paulogdm.com @8.8.8.8
# Query record with a trace of the DNS resolution