Difference between revisions of "Dig"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
``` | ``` | ||
− | dig @8.8.8.8 -p 5300 google.com | + | dig +short @8.8.8.8 -p 5300 google.com |
``` | ``` |
Revision as of 23:40, 22 January 2023
https://www.rootusers.com/12-dig-command-examples-to-query-dns-in-linux/
Simple Commands
dig +short google.com TXT @8.8.8.8 # test recursion
dig foo.example.com +nssearch dig foo.example.com +all
dig +short @8.8.8.8 -p 5300 google.com