-servers-with-dig"><a class="header" href="#querying-name-servers-with-dig">Querying name servers with dig</a></h1>
<p><code>dig</code> is a tool for performing DNS queries. It can be used to request specific resource records such as the SOA.</p>
<pre><code class="language-bash">dig &lt;domain&gt; SOA
</code></pre>
<pre><code class="language-bash">┌──(backslash0@kali)-[~]-[]
└─$ dig google.com SOA

; &lt;&lt;&gt;&gt; DiG 9.16.15-Debian &lt;&lt;&gt;&gt; google.com SOA
;; global options: +cmd
;; Got