<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dns on Lead DevOps</title><link>https://lead-devops.blackdevhub.online/en/tags/dns/</link><description>Recent content in Dns on Lead DevOps</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Mon, 07 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://lead-devops.blackdevhub.online/en/tags/dns/index.xml" rel="self" type="application/rss+xml"/><item><title>nslookup and drill: DNS resolution in terminal</title><link>https://lead-devops.blackdevhub.online/en/posts/nslookup-drill-dns-resolution/</link><pubDate>Mon, 07 Sep 2026 00:00:00 +0000</pubDate><guid>https://lead-devops.blackdevhub.online/en/posts/nslookup-drill-dns-resolution/</guid><description>&lt;p&gt;The server won&amp;rsquo;t resolve a domain, but pings fly through. No familiar dig at hand — the BIOS is already loading a minimal busybox. Or on a host without bind-tools. nslookup and drill fill this gap: the first one is built into almost everything, the second gives more context when debugging.&lt;/p&gt;&#10;&lt;h2 id="nslookup-interactive-and-one-liner-modes"&gt;nslookup: interactive and one-liner modes&#10;&lt;/h2&gt;&#10;&lt;p&gt;nslookup ships with bind-utils and isc-dhcp-client. It works in two modes.&lt;/p&gt;</description></item><item><title>dig: DNS Query Debugging in CLI</title><link>https://lead-devops.blackdevhub.online/en/posts/dig-dns-cli-debugging/</link><pubDate>Tue, 01 Sep 2026 00:00:00 +0000</pubDate><guid>https://lead-devops.blackdevhub.online/en/posts/dig-dns-cli-debugging/</guid><description>&lt;p&gt;DNS resolvers return the wrong address, clients don&amp;rsquo;t see updates, or it&amp;rsquo;s unclear which server is handling requests. &lt;code&gt;dig&lt;/code&gt; (Domain Information Groper) is the standard CLI tool for DNS diagnostics. Works on Linux, macOS, and Windows via WSL.&lt;/p&gt;&#10;&lt;h2 id="installation"&gt;Installation&#10;&lt;/h2&gt;&#10;&lt;div class="td-code td-code--untitled" id="td-code-72265765-fence-0" data-td-code data-td-code-auto-id&#10; data-td-language="bash" data-td-line-count="8"&gt;&#10; &lt;div class="td-code__viewport" id="td-code-72265765-fence-0-viewport" data-td-code-viewport&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Debian/Ubuntu&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;apt install dnsutils&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# RHEL/CentOS/Alma&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;dnf install bind-utils&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# macOS — ships with the system&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Windows — via WSL or ISC official binaries&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;h2 id="basic-flags"&gt;Basic Flags&#10;&lt;/h2&gt;&#10;&lt;p&gt;&lt;code&gt;dig&lt;/code&gt; has two classes of options: short flags (start with &lt;code&gt;-&lt;/code&gt;) control query behavior, while keywords with &lt;code&gt;+&lt;/code&gt; control output format.&lt;/p&gt;</description></item></channel></rss>