Editing Dig

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{lowercase}}
+
dig YOUR-DOMAIN-NAME +dnssec +short
[[wikipedia:Dig_(command)]]<ref>https://linux.die.net/man/1/dig</ref> is a command line tool to query [[Domain name servers]].
 
* Man page: https://linux.die.net/man/1/dig
 
* Config: <code>${HOME}/[[.digrc]]</code>
 
 
 
 
 
* <code>dig [[srv]] _jabber._tcp.example.com</code>
 
* <code>dig +nostats +nocomments +nocmd +noquestion +recurse gmail.com any</code>
 
 
 
== Examples ==
 
* <code>dig YOUR-DOMAIN-NAME.COM</code>
 
* <code>dig +short YOUR-DOMAIN-NAME.COM</code>
 
* <code>dig YOUR-DOMAIN-NAME.COM [[SOA]]</code>
 
* <code>dig YOUR-DOMAIN-NAME.COM +timeout=20</code>
 
* <code>dig YOUR-DOMAIN-NAME.COM @8.8.8.8 </code>
 
* <code>dig +trace YOUR-DOMAIN-NAME.COM @8.8.8.8</code>
 
* <code>dig +notrace YOUR-DOMAIN-NAME.COM @8.8.8.8</code>
 
* <code>dig YOUR-DOMAIN-NAME.COM +dnssec +short</code>
 
* <code>dig YOUR-DOMAIN-NAME.COM any</code>
 
 
 
To query an specific DNS server: <code>@ns0.wikimedia.org</code>
 
* <code>dig wikimedia.org @ns0.wikimedia.org</code>
 
To query an specific DNS server: <code>@ns0.wikimedia.org</code> for an specific record: <code>[[MX]]</code>
 
* <code>[[dig wikimedia.org MX]] @ns0.wikimedia.org</code>
 
 
 
* <code>dig +dnssec +norecurse @ns-cloud-a4.googledomains.com sapientia.dev [[SOA]]</code>
 
* <code>dig -t [[MX]] wikipedia.org</code>
 
* <code>dig -t [[TXT]] google.com</code>
 
* <code>dig -t [[NS]] google.com</code>
 
* <code>dig -t [[SOA]] google.com</code>
 
 
 
== Related commmands ==
 
* <code>[[host]], [[host -t]] ns DOMAIN_NAME.COM</code>
 
* <code>[[drill]]</code>
 
* <code>[[scutil --dns]]</code>
 
 
 
== See also ==
 
* {{DNS}}
 
* {{dig}}
 
 
 
 
 
[[Category:DNS]]
 
[[Category:Internet]]
 

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page:

Advertising: