Difference between revisions of "Linux command: dig"
Jump to navigation
Jump to search
Rafahsolis (talk | contribs) m Tag: visualeditor-switched |
Rafahsolis (talk | contribs) m Tag: visualeditor |
||
| Line 1: | Line 1: | ||
| − | dig @ | + | Examples<syntaxhighlight lang="bash"> |
| + | dig @{ns1.example.com} {example.com} | ||
| + | dig @{ns1.example.com} {example.com} {TYPE} | ||
| + | dig cyberciti.biz a | ||
| + | dig cyberciti.biz mx | ||
| + | dig cyberciti.biz ns | ||
| + | dig cyberciti.biz txt | ||
| + | dig @ns1.nixcraft.net cyberciti.biz a | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | === Trace Domain Delegation Path === | ||
| + | <syntaxhighlight lang="bash"> | ||
| + | dig +trace cyberciti.biz | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | === Short Answer === | ||
| + | <syntaxhighlight lang="bash"> | ||
| + | dig +short cyberciti.biz | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | === All Records === | ||
| + | <syntaxhighlight lang="bash"> | ||
| + | All Records | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | === Reverse IP Lookup === | ||
| + | <syntaxhighlight lang="bash"> | ||
| + | dig -x 75.126.153.206 +short | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | === Find Domain SOA Record === | ||
| + | <syntaxhighlight lang="bash"> | ||
| + | dig +nssearch cyberciti.biz | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | === Find Out TTL Value Using dig === | ||
| + | <syntaxhighlight lang="bash"> | ||
| + | dig +nocmd +noall +answer a cyberciti.biz | ||
| + | </syntaxhighlight> | ||
Revision as of 09:11, 3 April 2019
Examples
dig @{ns1.example.com} {example.com}
dig @{ns1.example.com} {example.com} {TYPE}
dig cyberciti.biz a
dig cyberciti.biz mx
dig cyberciti.biz ns
dig cyberciti.biz txt
dig @ns1.nixcraft.net cyberciti.biz a
Trace Domain Delegation Path
dig +trace cyberciti.biz
Short Answer
dig +short cyberciti.biz
All Records
All Records
Reverse IP Lookup
dig -x 75.126.153.206 +short
Find Domain SOA Record
dig +nssearch cyberciti.biz
Find Out TTL Value Using dig
dig +nocmd +noall +answer a cyberciti.biz