Common usage of dig command
install dig
apt install dnsutils
## or
yum install bind-utils
simple query
query with specific type
## query type is one of (a,any,mx,ns,soa,hinfo,axfr,txt,...) [default:a]
dig txt example.com
shorten the result
verbose the process
specify DNS server
dig @114.114.114.114 example.com

reference
https://aws.amazon.com/route53/what-is-dns/
https://www.cloudflare.com/learning/dns/what-is-dns/
https://www.verisign.com/en_US/website-presence/online/how-dns-works/index.xhtml
Disclaimer
- License under
CC BY-NC 4.0
- Copyright issue feedback
me#imzye.me
, replace # with @ - Not all the commands and scripts are tested in production environment, use at your own risk
- No privacy information is collected here
Try iOS App