<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mathieu Dallaire &#187; DNS</title>
	<atom:link href="http://mathieudallaire.net/category/dns/feed" rel="self" type="application/rss+xml" />
	<link>http://mathieudallaire.net</link>
	<description></description>
	<lastBuildDate>Fri, 09 Jul 2010 13:15:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to : Run dig on Windows</title>
		<link>http://mathieudallaire.net/how-to/how-to-run-dig-on-windows</link>
		<comments>http://mathieudallaire.net/how-to/how-to-run-dig-on-windows#comments</comments>
		<pubDate>Sun, 02 Mar 2008 06:45:07 +0000</pubDate>
		<dc:creator>Mathieu Dallaire</dc:creator>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[How to]]></category>

		<guid isPermaLink="false">http://www.mathieudallaire.net/wp/free-tools/how-to-run-dig-on-windows</guid>
		<description><![CDATA[Dig is a nice linux/unix tool to query dns servers which is included by default in most linux distribution. You can get dig from BIND which is provided by the ISC ftp://ftp.isc.org/isc/bind/. Just grab the zip file for the latest version and extract the following files to c:\dig (or any folder that suits your need) [...]]]></description>
			<content:encoded><![CDATA[<p>Dig is a nice linux/unix tool to query dns servers which is included by default in most linux distribution.  You can get dig from BIND which is provided by the ISC <a href="ftp://ftp.isc.org/isc/bind/">ftp://ftp.isc.org/isc/bind/</a>. Just grab the zip file for the latest version and extract the following files to c:\dig (or any folder that suits your need)</p>
<p><code>dig.exe<br />
libbind9.dll<br />
libdns.dll<br />
libeay32.dll<br />
libisc.dll<br />
libisccc.dll<br />
libisccfg.dll<br />
liblwres.dll</code></p>
<p>If you intend to use dig alot I suggest that you add it&#8217;s folder to your path for more convenience.</p>
<p>Open a command prompt and go to c:\dig and type &#8220;dig www.google.com&#8221;. You should see something like this :</p>
<pre>C:\dig&gt;dig www.google.com

; &lt;&lt;&gt;&gt; DiG 9.4.2 &lt;&lt;&gt;&gt; www.google.com
;; global options:  printcmd
;; Got answer:
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 470
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.google.com.                        IN      A

;; ANSWER SECTION:
www.google.com.         10182   IN      CNAME   www.l.google.com.
www.l.google.com.       193     IN      A       72.14.205.147
www.l.google.com.       193     IN      A       72.14.205.99
www.l.google.com.       193     IN      A       72.14.205.103
www.l.google.com.       193     IN      A       72.14.205.104

;; Query time: 15 msec
;; SERVER: 10.150.250.1#53(10.150.250.1)
;; WHEN: Sun Mar 02 00:28:44 2008
;; MSG SIZE  rcvd: 116

C:\dig&gt;</pre>
<p>This is the basic syntax to make basic queries:<br />
<code>dig [domain] [query type] @[nameserver]</code></p>
<p>Here is a small list of sample query you can give to dig in your everyday use.</p>
<p>When no query type is specified dig will return the &#8220;a&#8221; record(s) for the domain from your configured name server<br />
<code>dig google.com</code></p>
<p>This return the mx records for google.com and the &#8220;a&#8221; records for each mx from your configured name server<br />
<code>dig google.com mx</code></p>
<p>This will query the name server 198.235.216.130 for &#8220;a&#8221; records of the domain google.com<br />
<code>dig google.com a @198.235.216.130</code></p>
            <script type="text/javascript">  linkscolor = "000000";  highlightscolor = "888888";  backgroundcolor = "FFFFFF";  channel = "none";   </script><script type="text/javascript" src="http://www.addmarx.com/dynamicbookmark_compressed.php"></script><span><a onClick="clickDynamic1(this); return false;" href="http://www.addmarx.com"><img src="http://mathieudallaire.net/wp-content/plugins/addmarx/sharebookmarx.png" border="0"></a></span><span style="position:absolute; z-index:1000001; margin-top:24px; margin-left:-127px; visibility:hidden;"><iframe id="addmarx_empty" scrolling="no" frameborder="0"></iframe></span><!-- Please place the above code into your site where you want to have a bookmark/share/publicize link. Please do not change any of the code aside from the link text or image, or else the code may not work properly.  -->                  ]]></content:encoded>
			<wfw:commentRss>http://mathieudallaire.net/how-to/how-to-run-dig-on-windows/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
