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 |
||
| (One intermediate revision by the same user not shown) | |||
| 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> | ||
| + | [[Category:Linux Command]] | ||
| + | [[Category:DNS]] | ||
Latest revision as of 09:13, 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[edit]
dig +trace cyberciti.biz
Short Answer[edit]
dig +short cyberciti.biz
All Records[edit]
All Records
Reverse IP Lookup[edit]
dig -x 75.126.153.206 +short
Find Domain SOA Record[edit]
dig +nssearch cyberciti.biz
Find Out TTL Value Using dig[edit]
dig +nocmd +noall +answer a cyberciti.biz