| Line 1: |
Line 1: |
| − | dig @8.8.8.8 www.google.es | + | 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> |