<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.christophchamp.com/index.php?action=history&amp;feed=atom&amp;title=Dig</id>
		<title>Dig - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.christophchamp.com/index.php?action=history&amp;feed=atom&amp;title=Dig"/>
		<link rel="alternate" type="text/html" href="http://wiki.christophchamp.com/index.php?title=Dig&amp;action=history"/>
		<updated>2026-04-30T18:00:43Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>http://wiki.christophchamp.com/index.php?title=Dig&amp;diff=8094&amp;oldid=prev</id>
		<title>Christoph: /* Specific DNS server */</title>
		<link rel="alternate" type="text/html" href="http://wiki.christophchamp.com/index.php?title=Dig&amp;diff=8094&amp;oldid=prev"/>
				<updated>2021-09-21T09:22:56Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Specific DNS server&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 09:22, 21 September 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l29&quot; &gt;Line 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Specific DNS server ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Specific DNS server ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Queries may be directed to designated DNS servers for specific records; in this example, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[[&lt;/del&gt;MX &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;record]]s&lt;/del&gt;:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Queries may be directed to designated DNS servers for specific records; in this example, MX &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;records&lt;/ins&gt;:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ dig wikimedia.org MX @ns0.wikimedia.org&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ dig wikimedia.org MX @ns0.wikimedia.org&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Christoph</name></author>	</entry>

	<entry>
		<id>http://wiki.christophchamp.com/index.php?title=Dig&amp;diff=8093&amp;oldid=prev</id>
		<title>Christoph: /* With output formatting */</title>
		<link rel="alternate" type="text/html" href="http://wiki.christophchamp.com/index.php?title=Dig&amp;diff=8093&amp;oldid=prev"/>
				<updated>2021-09-21T09:21:52Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;With output formatting&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 09:21, 21 September 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l60&quot; &gt;Line 60:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 60:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;There are many [https://downloads.isc.org/isc/bind9/cur/9.17/doc/arm/html/manpages.html#id8 output formatting options] available. A common selection to make the output more terse is:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;There are many [https://downloads.isc.org/isc/bind9/cur/9.17/doc/arm/html/manpages.html#id8 output formatting options] available. A common selection to make the output more terse is:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ dig +noall +answer +multiline wikimedia.org MX&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ dig +noall +answer +multiline wikimedia.org MX&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;wikimedia.org.		3600 IN	MX 10 mx2001.wikimedia.org.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;wikimedia.org.		3600 IN	MX 10 mx2001.wikimedia.org.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Christoph</name></author>	</entry>

	<entry>
		<id>http://wiki.christophchamp.com/index.php?title=Dig&amp;diff=8092&amp;oldid=prev</id>
		<title>Christoph: /* Extended examples */</title>
		<link rel="alternate" type="text/html" href="http://wiki.christophchamp.com/index.php?title=Dig&amp;diff=8092&amp;oldid=prev"/>
				<updated>2021-09-21T09:20:31Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Extended examples&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 09:20, 21 September 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l129&quot; &gt;Line 129:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 129:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When you pass a domain name to the dig command, by default it displays the A record (the IP address of the site that is queried) as shown below.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When you pass a domain name to the dig command, by default it displays the A record (the IP address of the site that is queried) as shown below.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Display the A record of redhat.com in the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;&lt;/del&gt;ANSWER SECTION&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot; &lt;/del&gt;of the dig command output.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Display the A record of redhat.com in the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;code&amp;gt;&lt;/ins&gt;ANSWER SECTION&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/code&amp;gt; &lt;/ins&gt;of the dig command output.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ dig redhat.com&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ dig redhat.com&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l168&quot; &gt;Line 168:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 168:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; ANSWER SECTION: This displays the answer it receives from the DNS. i.e This is your output. This displays the A record of redhat.com&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; ANSWER SECTION: This displays the answer it receives from the DNS. i.e This is your output. This displays the A record of redhat.com&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; AUTHORITY SECTION: This displays the DNS name server that has the authority to respond to this query. This displays available name servers of redhat.com&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; AUTHORITY SECTION: This displays the DNS name server that has the authority to respond to this query. This displays available name servers of redhat.com&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; ADDITIONAL SECTION: This displays the IP address of the name servers listed in the AUTHORITY SECTION.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; ADDITIONAL SECTION: This displays the IP address of the name servers listed in the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;code&amp;gt;&lt;/ins&gt;AUTHORITY SECTION&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/code&amp;gt;&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; The stats section at the bottom displays few dig command statistics including how much time it took to execute this query.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; The stats section at the bottom displays few dig command statistics including how much time it took to execute this query.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l178&quot; &gt;Line 178:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 178:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;+nostats&amp;#160; &amp;#160; &amp;#160; # turn off the stats section&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;+nostats&amp;#160; &amp;#160; &amp;#160; # turn off the stats section&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;+noanswer&amp;#160; &amp;#160;  # turn off the answer section (note: you normally would _not_ want to turn off the answer section)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;+noanswer&amp;#160; &amp;#160;  # turn off the answer section (note: you normally would _not_ want to turn off the answer section)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;pred&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;pre&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Display only the &amp;lt;code&amp;gt;ANSWER SECTION&amp;lt;/code&amp;gt;:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Display only the &amp;lt;code&amp;gt;ANSWER SECTION&amp;lt;/code&amp;gt;:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l362&quot; &gt;Line 362:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 362:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Perform a bulk DNS query based on the data from a file. First, create a sample &amp;lt;code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;names&lt;/del&gt;.txt&amp;lt;/code&amp;gt; file that contains the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;website &lt;/del&gt;that you want to query:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Perform a bulk DNS query based on the data from a file. First, create a sample &amp;lt;code&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;domains&lt;/ins&gt;.txt&amp;lt;/code&amp;gt; file that contains the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;websites &lt;/ins&gt;that you want to query:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ cat &amp;lt;&amp;lt; EOF &amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;names&lt;/del&gt;.txt&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ cat &amp;lt;&amp;lt; EOF &amp;gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;domains&lt;/ins&gt;.txt&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;redhat.com&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;redhat.com&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;centos.org&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;centos.org&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l370&quot; &gt;Line 370:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 370:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Next, perform a bulk DNS query for the websites listed in the &amp;lt;code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;names&lt;/del&gt;.txt&amp;lt;/code&amp;gt; file and display the output:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Next, perform a bulk DNS query for the websites listed in the &amp;lt;code&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;domains&lt;/ins&gt;.txt&amp;lt;/code&amp;gt; file and display the output:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ dig -f &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;names&lt;/del&gt;.txt +noall +answer&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ dig -f &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;domains&lt;/ins&gt;.txt +noall +answer&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;redhat.com.&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  60&amp;#160; &amp;#160; &amp;#160; IN&amp;#160; &amp;#160; &amp;#160; A&amp;#160; &amp;#160; &amp;#160;  209.132.183.81&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;redhat.com.&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  60&amp;#160; &amp;#160; &amp;#160; IN&amp;#160; &amp;#160; &amp;#160; A&amp;#160; &amp;#160; &amp;#160;  209.132.183.81&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;centos.org.&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  60&amp;#160; &amp;#160; &amp;#160; IN&amp;#160; &amp;#160; &amp;#160; A&amp;#160; &amp;#160; &amp;#160;  72.232.194.162&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;centos.org.&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  60&amp;#160; &amp;#160; &amp;#160; IN&amp;#160; &amp;#160; &amp;#160; A&amp;#160; &amp;#160; &amp;#160;  72.232.194.162&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* You can also combine the record type with the -f option. The following example displays the MX records of multiple websites that are located in the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;names&lt;/del&gt;.txt file.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* You can also combine the record type with the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;code&amp;gt;&lt;/ins&gt;-f&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/code&amp;gt; &lt;/ins&gt;option. The following example displays the MX records of multiple websites that are located in the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;code&amp;gt;domains&lt;/ins&gt;.txt&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/code&amp;gt; &lt;/ins&gt;file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ dig -f &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;names&lt;/del&gt;.txt MX +noall +answer&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ dig -f &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;domains&lt;/ins&gt;.txt MX +noall +answer&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;redhat.com.&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  600&amp;#160; &amp;#160;  IN&amp;#160; &amp;#160; &amp;#160; MX&amp;#160; &amp;#160; &amp;#160; 10 mx2.redhat.com.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;redhat.com.&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  600&amp;#160; &amp;#160;  IN&amp;#160; &amp;#160; &amp;#160; MX&amp;#160; &amp;#160; &amp;#160; 10 mx2.redhat.com.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;redhat.com.&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  600&amp;#160; &amp;#160;  IN&amp;#160; &amp;#160; &amp;#160; MX&amp;#160; &amp;#160; &amp;#160; 5 mx1.redhat.com.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;redhat.com.&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  600&amp;#160; &amp;#160;  IN&amp;#160; &amp;#160; &amp;#160; MX&amp;#160; &amp;#160; &amp;#160; 5 mx1.redhat.com.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l398&quot; &gt;Line 398:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 398:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* If you are &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;always trying &lt;/del&gt;to &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;view &lt;/del&gt;only the &amp;lt;code&amp;gt;ANSWER SECTION&amp;lt;/code&amp;gt; of the dig output, add your dig options to the &amp;lt;code&amp;gt;.digrc&amp;lt;/code&amp;gt; file:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* If you are &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;continually wishing &lt;/ins&gt;to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;only&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' view &lt;/ins&gt;the &amp;lt;code&amp;gt;ANSWER SECTION&amp;lt;/code&amp;gt; of the dig output, add your dig options to the &amp;lt;code&amp;gt;.digrc&amp;lt;/code&amp;gt; file:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ cat $HOME/.digrc&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;$ cat $HOME/.digrc&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Christoph</name></author>	</entry>

	<entry>
		<id>http://wiki.christophchamp.com/index.php?title=Dig&amp;diff=8091&amp;oldid=prev</id>
		<title>Christoph: /* External links */</title>
		<link rel="alternate" type="text/html" href="http://wiki.christophchamp.com/index.php?title=Dig&amp;diff=8091&amp;oldid=prev"/>
				<updated>2021-09-20T23:54:13Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;External links&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 23:54, 20 September 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l460&quot; &gt;Line 460:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 460:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==External links==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==External links==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://www.isc.org/bind/ Official website]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://www.isc.org/bind/ Official website]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [https://anouar.adlani.com/2011/12/useful-dig-command-to-troubleshot-your-domains.html 10 frequently asked questions about DNS solved with DIG]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://gist.github.com/githubutilities/a4aeaf3fb80519cb2d59 dig examples]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://gist.github.com/githubutilities/a4aeaf3fb80519cb2d59 dig examples]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Linux Command Line Tools]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Linux Command Line Tools]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Christoph</name></author>	</entry>

	<entry>
		<id>http://wiki.christophchamp.com/index.php?title=Dig&amp;diff=8090&amp;oldid=prev</id>
		<title>Christoph: Created page with &quot;'''dig''' (aka &quot;Domain Information Groper&quot;) is a network administration command-line tool for querying the Domain Name System (DNS).  ==Examples==  * Basic: &lt;pre&gt; $ dig exampl...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.christophchamp.com/index.php?title=Dig&amp;diff=8090&amp;oldid=prev"/>
				<updated>2021-09-20T23:51:50Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;dig&amp;#039;&amp;#039;&amp;#039; (aka &amp;quot;Domain Information Groper&amp;quot;) is a network administration command-line tool for querying the Domain Name System (DNS).  ==Examples==  * Basic: &amp;lt;pre&amp;gt; $ dig exampl...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''dig''' (aka &amp;quot;Domain Information Groper&amp;quot;) is a network administration command-line tool for querying the Domain Name System (DNS).&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
* Basic:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig example.com&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.11.3-1ubuntu1.15-Ubuntu &amp;lt;&amp;lt;&amp;gt;&amp;gt; example.com&lt;br /&gt;
;; global options: +cmd&lt;br /&gt;
;; Got answer:&lt;br /&gt;
;; -&amp;gt;&amp;gt;HEADER&amp;lt;&amp;lt;- opcode: QUERY, status: NOERROR, id: 47191&lt;br /&gt;
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1&lt;br /&gt;
&lt;br /&gt;
;; OPT PSEUDOSECTION:&lt;br /&gt;
; EDNS: version: 0, flags:; udp: 65494&lt;br /&gt;
;; QUESTION SECTION:&lt;br /&gt;
;example.com.			IN	A&lt;br /&gt;
&lt;br /&gt;
;; ANSWER SECTION:&lt;br /&gt;
example.com.		8965	IN	A	93.184.216.34&lt;br /&gt;
&lt;br /&gt;
;; Query time: 26 msec&lt;br /&gt;
;; SERVER: 127.0.0.53#53(127.0.0.53)&lt;br /&gt;
;; WHEN: Mon Sep 20 16:15:28 PDT 2021&lt;br /&gt;
;; MSG SIZE  rcvd: 56&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specific DNS server ===&lt;br /&gt;
&lt;br /&gt;
Queries may be directed to designated DNS servers for specific records; in this example, [[MX record]]s:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig wikimedia.org MX @ns0.wikimedia.org&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.11.3-1ubuntu1.15-Ubuntu &amp;lt;&amp;lt;&amp;gt;&amp;gt; wikimedia.org MX @ns0.wikimedia.org&lt;br /&gt;
;; global options: +cmd&lt;br /&gt;
;; Got answer:&lt;br /&gt;
;; -&amp;gt;&amp;gt;HEADER&amp;lt;&amp;lt;- opcode: QUERY, status: NOERROR, id: 28041&lt;br /&gt;
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1&lt;br /&gt;
;; WARNING: recursion requested but not available&lt;br /&gt;
&lt;br /&gt;
;; OPT PSEUDOSECTION:&lt;br /&gt;
; EDNS: version: 0, flags:; udp: 1024&lt;br /&gt;
; COOKIE: f1dc16b8ff5eb444399d5455c80f3c90 (good)&lt;br /&gt;
;; QUESTION SECTION:&lt;br /&gt;
;wikimedia.org.			IN	MX&lt;br /&gt;
&lt;br /&gt;
;; ANSWER SECTION:&lt;br /&gt;
wikimedia.org.		3600	IN	MX	10 mx2001.wikimedia.org.&lt;br /&gt;
wikimedia.org.		3600	IN	MX	50 mx1001.wikimedia.org.&lt;br /&gt;
&lt;br /&gt;
;; Query time: 98 msec&lt;br /&gt;
;; SERVER: 208.80.154.238#53(208.80.154.238)&lt;br /&gt;
;; WHEN: Mon Sep 20 16:17:42 PDT 2021&lt;br /&gt;
;; MSG SIZE  rcvd: 108&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== With output formatting ===&lt;br /&gt;
&lt;br /&gt;
There are many [https://downloads.isc.org/isc/bind9/cur/9.17/doc/arm/html/manpages.html#id8 output formatting options] available. A common selection to make the output more terse is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;quot;&amp;gt;&lt;br /&gt;
$ dig +noall +answer +multiline wikimedia.org MX&lt;br /&gt;
wikimedia.org.		3600 IN	MX 10 mx2001.wikimedia.org.&lt;br /&gt;
wikimedia.org.		3600 IN	MX 50 mx1001.wikimedia.org.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;code&amp;gt;+noall +answer +multiline&amp;lt;/code&amp;gt; are simply output formatting flags.&lt;br /&gt;
&lt;br /&gt;
===Miscellaneous===&lt;br /&gt;
&lt;br /&gt;
* Check DNS records:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig TXT _acme-challenge.tfe.example.com +short&lt;br /&gt;
# Should return something that looks like this:&lt;br /&gt;
&amp;quot;GungAThu5sg63DuvJ1U3egVgRIyhzLDQ7MQylzEW1Z4&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Lookup CNAMEs:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig @8.8.8.8 rancher-poc.redapt.com C&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Name servers (NS):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ nslookup -type=ns redhat.com&lt;br /&gt;
$ dig ns redhat.com +noall +short&lt;br /&gt;
a10-65.akam.net.&lt;br /&gt;
a28-64.akam.net.&lt;br /&gt;
a9-65.akam.net.&lt;br /&gt;
a1-68.akam.net.&lt;br /&gt;
a16-67.akam.net.&lt;br /&gt;
a13-66.akam.net.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Use a local resolver (with cache):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig +noall +stats www.google.com | grep &amp;quot;;; Query time&amp;quot;&lt;br /&gt;
#;; Query time: 3 msec&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Use openDNS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig +noall +stats google.com @208.67.222.222 | grep &amp;quot;;; Query time&amp;quot; &lt;br /&gt;
#;; Query time: 28 msec&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Use your local ISP's DNS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig +noall +stats google.com @212.27.40.240 | grep &amp;quot;;; Query time&amp;quot; &lt;br /&gt;
#;; Query time: 20 msec&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reverse DNS lookup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ host -t mx marcxtof.com&lt;br /&gt;
$ dig +short -x 67.207.152.20 # =&amp;gt; marcxtof.com (reverse DNS lookup)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Star Wars==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ( seq 1 8 200 ; seq 6 8 200 )|sort -n|xargs -I{} -n 1 dig +short -x 206.214.251.{}&lt;br /&gt;
$ traceroute 216.81.59.173&lt;br /&gt;
$ ( seq 206 8 250 ; seq 209 8 250 )|sort -n|xargs -I{} -n 1 dig +short -x 206.214.251.{}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Extended examples==&lt;br /&gt;
&lt;br /&gt;
When you pass a domain name to the dig command, by default it displays the A record (the IP address of the site that is queried) as shown below.&lt;br /&gt;
&lt;br /&gt;
* Display the A record of redhat.com in the &amp;quot;ANSWER SECTION&amp;quot; of the dig command output.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig redhat.com&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.7.3-RedHat-9.7.3-2.el6 &amp;lt;&amp;lt;&amp;gt;&amp;gt; redhat.com&lt;br /&gt;
;; global options: +cmd&lt;br /&gt;
;; Got answer:&lt;br /&gt;
;; -&amp;gt;&amp;gt;HEADER&amp;lt;&amp;lt;- opcode: QUERY, status: NOERROR, id: 62863&lt;br /&gt;
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 3&lt;br /&gt;
&lt;br /&gt;
;; QUESTION SECTION:&lt;br /&gt;
;redhat.com.                    IN      A&lt;br /&gt;
&lt;br /&gt;
;; ANSWER SECTION:&lt;br /&gt;
redhat.com.             37      IN      A       209.132.183.81&lt;br /&gt;
&lt;br /&gt;
;; AUTHORITY SECTION:&lt;br /&gt;
redhat.com.             73      IN      NS      ns4.redhat.com.&lt;br /&gt;
redhat.com.             73      IN      NS      ns3.redhat.com.&lt;br /&gt;
redhat.com.             73      IN      NS      ns2.redhat.com.&lt;br /&gt;
redhat.com.             73      IN      NS      ns1.redhat.com.&lt;br /&gt;
&lt;br /&gt;
;; ADDITIONAL SECTION:&lt;br /&gt;
ns1.redhat.com.         73      IN      A       209.132.186.218&lt;br /&gt;
ns2.redhat.com.         73      IN      A       209.132.183.2&lt;br /&gt;
ns3.redhat.com.         73      IN      A       209.132.176.100&lt;br /&gt;
&lt;br /&gt;
;; Query time: 13 msec&lt;br /&gt;
;; SERVER: 209.144.50.138#53(209.144.50.138)&lt;br /&gt;
;; WHEN: Thu Jan 12 10:09:49 2012&lt;br /&gt;
;; MSG SIZE  rcvd: 164&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The dig command output has the following sections:&lt;br /&gt;
&lt;br /&gt;
; Header: This displays the dig command version number, the global options used by the dig command, and a few additional header information.&lt;br /&gt;
; QUESTION SECTION: This displays the question it asked the DNS. i.e This is your input. Since we executed &amp;lt;code&amp;gt;dig redhat.com&amp;lt;/code&amp;gt;, and the default type dig command uses is A record, it indicates in this section that we asked for the A record of the redhat.com website&lt;br /&gt;
; ANSWER SECTION: This displays the answer it receives from the DNS. i.e This is your output. This displays the A record of redhat.com&lt;br /&gt;
; AUTHORITY SECTION: This displays the DNS name server that has the authority to respond to this query. This displays available name servers of redhat.com&lt;br /&gt;
; ADDITIONAL SECTION: This displays the IP address of the name servers listed in the AUTHORITY SECTION.&lt;br /&gt;
; The stats section at the bottom displays few dig command statistics including how much time it took to execute this query.&lt;br /&gt;
&lt;br /&gt;
* Display only the &amp;lt;code&amp;gt;ANSWER SECTION&amp;lt;/code&amp;gt;: For the most part, all you need to look at is the &amp;lt;code&amp;gt;ANSWER SECTION&amp;lt;/code&amp;gt; of the dig command. So, we can turn off all other sections with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
+nocomments   # turn off the comment lines&lt;br /&gt;
+noauthority  # turn off the authority section&lt;br /&gt;
+noadditional # turn off the additional section&lt;br /&gt;
+nostats      # turn off the stats section&lt;br /&gt;
+noanswer     # turn off the answer section (note: you normally would _not_ want to turn off the answer section)&lt;br /&gt;
&amp;lt;/pred&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Display only the &amp;lt;code&amp;gt;ANSWER SECTION&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig redhat.com +nocomments +noquestion +noauthority +noadditional +nostats&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.7.3-RedHat-9.7.3-2.el6 &amp;lt;&amp;lt;&amp;gt;&amp;gt; redhat.com +nocomments +noquestion +noauthority +noadditional +nostats&lt;br /&gt;
;; global options: +cmd&lt;br /&gt;
redhat.com.             9       IN      A       209.132.183.81&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Instead of disabling all the sections that we do not want one by one, we can disable all sections using &amp;lt;code&amp;gt;+noall&amp;lt;/code&amp;gt; (this ''also'' turns off the &amp;lt;code&amp;gt;ANSWER SECTION&amp;lt;/code&amp;gt;), and add the &amp;lt;code&amp;gt;+answer&amp;lt;/code&amp;gt;, which will show only the answer section.&lt;br /&gt;
&lt;br /&gt;
* The above command can also be written in a short form, which displays only the &amp;lt;code&amp;gt;ANSWER SECTION&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig redhat.com +noall +answer&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.7.3-RedHat-9.7.3-2.el6 &amp;lt;&amp;lt;&amp;gt;&amp;gt; redhat.com +noall +answer&lt;br /&gt;
;; global options: +cmd&lt;br /&gt;
redhat.com.             60      IN      A       209.132.183.81&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Query &amp;lt;code&amp;gt;MX&amp;lt;/code&amp;gt; records:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig redhat.com MX +noall +answer&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.7.3-RedHat-9.7.3-2.el6 &amp;lt;&amp;lt;&amp;gt;&amp;gt; redhat.com MX +noall +answer&lt;br /&gt;
;; global options: +cmd&lt;br /&gt;
redhat.com.             513     IN      MX      5 mx1.redhat.com.&lt;br /&gt;
redhat.com.             513     IN      MX      10 mx2.redhat.com.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* You can also use the &amp;lt;code&amp;gt;-t&amp;lt;/code&amp;gt; option to pass the query type (e.g.,: &amp;lt;code&amp;gt;MX&amp;lt;/code&amp;gt;):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig -t MX redhat.com +noall +answer&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.7.3-RedHat-9.7.3-2.el6 &amp;lt;&amp;lt;&amp;gt;&amp;gt; -t MX redhat.com +noall +answer&lt;br /&gt;
;; global options: +cmd&lt;br /&gt;
redhat.com.             489     IN      MX      10 mx2.redhat.com.&lt;br /&gt;
redhat.com.             489     IN      MX      5 mx1.redhat.com.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Query &amp;lt;code&amp;gt;NS&amp;lt;/code&amp;gt; records:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig redhat.com NS +noall +answer&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.7.3-RedHat-9.7.3-2.el6 &amp;lt;&amp;lt;&amp;gt;&amp;gt; redhat.com NS +noall +answer&lt;br /&gt;
;; global options: +cmd&lt;br /&gt;
redhat.com.             558     IN      NS      ns2.redhat.com.&lt;br /&gt;
redhat.com.             558     IN      NS      ns1.redhat.com.&lt;br /&gt;
redhat.com.             558     IN      NS      ns3.redhat.com.&lt;br /&gt;
redhat.com.             558     IN      NS      ns4.redhat.com.&lt;br /&gt;
&lt;br /&gt;
#~OR~&lt;br /&gt;
&lt;br /&gt;
$ dig -t NS redhat.com +noall +answer&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.7.3-RedHat-9.7.3-2.el6 &amp;lt;&amp;lt;&amp;gt;&amp;gt; -t NS redhat.com +noall +answer&lt;br /&gt;
;; global options: +cmd&lt;br /&gt;
redhat.com.             543     IN      NS      ns4.redhat.com.&lt;br /&gt;
redhat.com.             543     IN      NS      ns1.redhat.com.&lt;br /&gt;
redhat.com.             543     IN      NS      ns3.redhat.com.&lt;br /&gt;
redhat.com.             543     IN      NS      ns2.redhat.com.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* View all the record types (A, MX, NS, etc.) with &amp;lt;code&amp;gt;ANY&amp;lt;/code&amp;gt; as the record type:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig redhat.com ANY +noall +answer&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.7.3-RedHat-9.7.3-2.el6 &amp;lt;&amp;lt;&amp;gt;&amp;gt; redhat.com ANY +noall +answer&lt;br /&gt;
;; global options: +cmd&lt;br /&gt;
redhat.com.             430     IN      MX      5 mx1.redhat.com.&lt;br /&gt;
redhat.com.             430     IN      MX      10 mx2.redhat.com.&lt;br /&gt;
redhat.com.             521     IN      NS      ns3.redhat.com.&lt;br /&gt;
redhat.com.             521     IN      NS      ns1.redhat.com.&lt;br /&gt;
redhat.com.             521     IN      NS      ns4.redhat.com.&lt;br /&gt;
redhat.com.             521     IN      NS      ns2.redhat.com.&lt;br /&gt;
&lt;br /&gt;
# (or) Use -t ANY&lt;br /&gt;
&lt;br /&gt;
$ dig -t ANY redhat.com  +noall +answer&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.7.3-RedHat-9.7.3-2.el6 &amp;lt;&amp;lt;&amp;gt;&amp;gt; -t ANY redhat.com +noall +answer&lt;br /&gt;
;; global options: +cmd&lt;br /&gt;
redhat.com.             367     IN      MX      10 mx2.redhat.com.&lt;br /&gt;
redhat.com.             367     IN      MX      5 mx1.redhat.com.&lt;br /&gt;
redhat.com.             458     IN      NS      ns4.redhat.com.&lt;br /&gt;
redhat.com.             458     IN      NS      ns1.redhat.com.&lt;br /&gt;
redhat.com.             458     IN      NS      ns2.redhat.com.&lt;br /&gt;
redhat.com.             458     IN      NS      ns3.redhat.com.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* View just the IP address of a website (i.e, the A record), use the short form option:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig redhat.com +short&lt;br /&gt;
209.132.183.81&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Specify a record type that you want to view:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig redhat.com ns +short&lt;br /&gt;
ns2.redhat.com.&lt;br /&gt;
ns3.redhat.com.&lt;br /&gt;
ns1.redhat.com.&lt;br /&gt;
ns4.redhat.com.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Perform a DNS reverse lookup using the IP address. For example, if you just have an external IP address and would like to know the website that belongs to it, do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig -x 209.132.183.81 +short&lt;br /&gt;
www.redhat.com.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* View the ''full'' details of the DNS reverse lookup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig -x 209.132.183.81&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.7.3-RedHat-9.7.3-2.el6 &amp;lt;&amp;lt;&amp;gt;&amp;gt; -x 209.132.183.81&lt;br /&gt;
;; global options: +cmd&lt;br /&gt;
;; Got answer:&lt;br /&gt;
;; -&amp;gt;&amp;gt;HEADER&amp;lt;&amp;lt;- opcode: QUERY, status: NOERROR, id: 62435&lt;br /&gt;
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 3&lt;br /&gt;
&lt;br /&gt;
;; QUESTION SECTION:&lt;br /&gt;
;81.183.132.209.in-addr.arpa.   IN      PTR&lt;br /&gt;
&lt;br /&gt;
;; ANSWER SECTION:&lt;br /&gt;
81.183.132.209.in-addr.arpa. 600 IN     PTR     www.redhat.com.&lt;br /&gt;
&lt;br /&gt;
;; AUTHORITY SECTION:&lt;br /&gt;
183.132.209.in-addr.arpa. 248   IN      NS      ns2.redhat.com.&lt;br /&gt;
183.132.209.in-addr.arpa. 248   IN      NS      ns1.redhat.com.&lt;br /&gt;
183.132.209.in-addr.arpa. 248   IN      NS      ns3.redhat.com.&lt;br /&gt;
183.132.209.in-addr.arpa. 248   IN      NS      ns4.redhat.com.&lt;br /&gt;
&lt;br /&gt;
;; ADDITIONAL SECTION:&lt;br /&gt;
ns1.redhat.com.         363     IN      A       209.132.186.218&lt;br /&gt;
ns2.redhat.com.         363     IN      A       209.132.183.2&lt;br /&gt;
ns3.redhat.com.         363     IN      A       209.132.176.100&lt;br /&gt;
&lt;br /&gt;
;; Query time: 35 msec&lt;br /&gt;
;; SERVER: 209.144.50.138#53(209.144.50.138)&lt;br /&gt;
;; WHEN: Thu Jan 12 10:15:00 2012&lt;br /&gt;
;; MSG SIZE  rcvd: 193&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By default, dig uses the DNS servers defined in your &amp;lt;code&amp;gt;/etc/resolv.conf&amp;lt;/code&amp;gt; file. If you would like to use a different DNS server to perform the query, specify it with &amp;lt;code&amp;gt;@dnsserver&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* Use &amp;lt;code&amp;gt;ns1.redhat.com&amp;lt;/code&amp;gt; as the DNS server to get the answer (instead of using the DNS servers from the &amp;lt;code&amp;gt;/etc/resolv.conf&amp;lt;/code&amp;gt; file):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig @ns1.redhat.com redhat.com&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.7.3-RedHat-9.7.3-2.el6 &amp;lt;&amp;lt;&amp;gt;&amp;gt; @ns1.redhat.com redhat.com&lt;br /&gt;
; (1 server found)&lt;br /&gt;
;; global options: +cmd&lt;br /&gt;
;; Got answer:&lt;br /&gt;
;; -&amp;gt;&amp;gt;HEADER&amp;lt;&amp;lt;- opcode: QUERY, status: NOERROR, id: 20963&lt;br /&gt;
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4&lt;br /&gt;
;; WARNING: recursion requested but not available&lt;br /&gt;
&lt;br /&gt;
;; QUESTION SECTION:&lt;br /&gt;
;redhat.com.                    IN      A&lt;br /&gt;
&lt;br /&gt;
;; ANSWER SECTION:&lt;br /&gt;
redhat.com.             60      IN      A       209.132.183.81&lt;br /&gt;
&lt;br /&gt;
;; AUTHORITY SECTION:&lt;br /&gt;
redhat.com.             600     IN      NS      ns1.redhat.com.&lt;br /&gt;
redhat.com.             600     IN      NS      ns4.redhat.com.&lt;br /&gt;
redhat.com.             600     IN      NS      ns3.redhat.com.&lt;br /&gt;
redhat.com.             600     IN      NS      ns2.redhat.com.&lt;br /&gt;
&lt;br /&gt;
;; ADDITIONAL SECTION:&lt;br /&gt;
ns1.redhat.com.         600     IN      A       209.132.186.218&lt;br /&gt;
ns2.redhat.com.         600     IN      A       209.132.183.2&lt;br /&gt;
ns3.redhat.com.         600     IN      A       209.132.176.100&lt;br /&gt;
ns4.redhat.com.         600     IN      A       209.132.188.218&lt;br /&gt;
&lt;br /&gt;
;; Query time: 160 msec&lt;br /&gt;
;; SERVER: 209.132.186.218#53(209.132.186.218)&lt;br /&gt;
;; WHEN: Thu Jan 12 10:22:11 2012&lt;br /&gt;
;; MSG SIZE  rcvd: 180&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Perform a bulk DNS query based on the data from a file. First, create a sample &amp;lt;code&amp;gt;names.txt&amp;lt;/code&amp;gt; file that contains the website that you want to query:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cat &amp;lt;&amp;lt; EOF &amp;gt; names.txt&lt;br /&gt;
redhat.com&lt;br /&gt;
centos.org&lt;br /&gt;
EOF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, perform a bulk DNS query for the websites listed in the &amp;lt;code&amp;gt;names.txt&amp;lt;/code&amp;gt; file and display the output:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig -f names.txt +noall +answer&lt;br /&gt;
redhat.com.             60      IN      A       209.132.183.81&lt;br /&gt;
centos.org.             60      IN      A       72.232.194.162&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* You can also combine the record type with the -f option. The following example displays the MX records of multiple websites that are located in the names.txt file.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig -f names.txt MX +noall +answer&lt;br /&gt;
redhat.com.             600     IN      MX      10 mx2.redhat.com.&lt;br /&gt;
redhat.com.             600     IN      MX      5 mx1.redhat.com.&lt;br /&gt;
centos.org.             3600    IN      MX      10 mail.centos.org.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Query multiple websites. The following example queries MX record for redhat.com, and NS record for centos.org:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig redhat.com mx +noall +answer centos.org ns +noall +answer&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.7.3-RedHat-9.7.3-2.el6 &amp;lt;&amp;lt;&amp;gt;&amp;gt; redhat.com mx +noall +answer centos.org ns +noall +answer&lt;br /&gt;
;; global options: +cmd&lt;br /&gt;
redhat.com.             332     IN      MX      10 mx2.redhat.com.&lt;br /&gt;
redhat.com.             332     IN      MX      5 mx1.redhat.com.&lt;br /&gt;
centos.org.             3778    IN      NS      ns3.centos.org.&lt;br /&gt;
centos.org.             3778    IN      NS      ns4.centos.org.&lt;br /&gt;
centos.org.             3778    IN      NS      ns1.centos.org.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* If you are always trying to view only the &amp;lt;code&amp;gt;ANSWER SECTION&amp;lt;/code&amp;gt; of the dig output, add your dig options to the &amp;lt;code&amp;gt;.digrc&amp;lt;/code&amp;gt; file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cat $HOME/.digrc&lt;br /&gt;
+noall +answer&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now anytime you execute the dig command, it will always use &amp;lt;code&amp;gt;+noall&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;+answer&amp;lt;/code&amp;gt; options by default:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig redhat.com&lt;br /&gt;
redhat.com.             60      IN      A       209.132.183.81&lt;br /&gt;
&lt;br /&gt;
$ dig redhat.com MX&lt;br /&gt;
redhat.com.             52      IN      MX      5 mx1.redhat.com.&lt;br /&gt;
redhat.com.             52      IN      MX      10 mx2.redhat.com.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Start of Authority (SOA)===&lt;br /&gt;
Find out the Start of Authority (SOA) record using &amp;lt;code&amp;gt;dig&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;host&amp;lt;/code&amp;gt;. SOA specifies authoritative information about a DNS zone, including the primary name server, the email of the domain administrator, the domain serial number, and several timers relating to refreshing the zone.&lt;br /&gt;
&lt;br /&gt;
* Display a SOA record using &amp;lt;code&amp;gt;host&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ host -t soa redhat.com&lt;br /&gt;
redhat.com has SOA record a1-68.akam.net. noc.redhat.com. 2021092000 300 180 604800 14400&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Display a SOA record using &amp;lt;code&amp;gt;dig&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ dig SOA redhat.com&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.11.3-1ubuntu1.15-Ubuntu &amp;lt;&amp;lt;&amp;gt;&amp;gt; SOA redhat.com&lt;br /&gt;
;; global options: +cmd&lt;br /&gt;
;; Got answer:&lt;br /&gt;
;; -&amp;gt;&amp;gt;HEADER&amp;lt;&amp;lt;- opcode: QUERY, status: NOERROR, id: 28645&lt;br /&gt;
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1&lt;br /&gt;
&lt;br /&gt;
;; OPT PSEUDOSECTION:&lt;br /&gt;
; EDNS: version: 0, flags:; udp: 65494&lt;br /&gt;
;; QUESTION SECTION:&lt;br /&gt;
;redhat.com.			IN	SOA&lt;br /&gt;
&lt;br /&gt;
;; ANSWER SECTION:&lt;br /&gt;
redhat.com.		3547	IN	SOA	a1-68.akam.net. noc.redhat.com. 2021092000 300 180 604800 14400&lt;br /&gt;
&lt;br /&gt;
;; Query time: 0 msec&lt;br /&gt;
;; SERVER: 127.0.0.53#53(127.0.0.53)&lt;br /&gt;
;; WHEN: Mon Sep 20 16:43:24 PDT 2021&lt;br /&gt;
;; MSG SIZE  rcvd: 93&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Record types==&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;A&amp;lt;/code&amp;gt; &amp;amp;mdash; IPv4 IP address&lt;br /&gt;
*&amp;lt;code&amp;gt;AAAA&amp;lt;/code&amp;gt; &amp;amp;mdash; IPv6 IP address&lt;br /&gt;
*&amp;lt;code&amp;gt;CNAME&amp;lt;/code&amp;gt; &amp;amp;mdash; Canonical name record (Alias)&lt;br /&gt;
*&amp;lt;code&amp;gt;NS&amp;lt;/code&amp;gt; &amp;amp;mdash; Name Servers&lt;br /&gt;
*&amp;lt;code&amp;gt;MX&amp;lt;/code&amp;gt; &amp;amp;mdash; Mail eXchanges&lt;br /&gt;
*&amp;lt;code&amp;gt;PTR&amp;lt;/code&amp;gt; &amp;amp;mdash; PoinTeR record. Pointer to a canonical name&lt;br /&gt;
*&amp;lt;code&amp;gt;SOA&amp;lt;/code&amp;gt; &amp;amp;mdash; Start Of Authority. Authoritative information about a DNS zone&lt;br /&gt;
*&amp;lt;code&amp;gt;TXT&amp;lt;/code&amp;gt; &amp;amp;mdash; text record&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://www.isc.org/bind/ Official website]&lt;br /&gt;
* [https://gist.github.com/githubutilities/a4aeaf3fb80519cb2d59 dig examples]&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux Command Line Tools]]&lt;/div&gt;</summary>
		<author><name>Christoph</name></author>	</entry>

	</feed>