{"id":27346,"date":"2026-01-21T09:24:06","date_gmt":"2026-01-21T08:24:06","guid":{"rendered":"https:\/\/contabo.com\/blog\/?p=27346"},"modified":"2026-05-12T17:44:50","modified_gmt":"2026-05-12T15:44:50","slug":"nslookup-command-dns-lookup-guide","status":"publish","type":"post","link":"https:\/\/contabo.com\/blog\/nslookup-command-dns-lookup-guide\/","title":{"rendered":"Complete Guide to NSLookup Command"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"630\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2026\/01\/blog-head_nslookup-command_EN.webp\" alt=\"Complete DNS Lookup Guide\" class=\"wp-image-27516\" srcset=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2026\/01\/blog-head_nslookup-command_EN.webp 1200w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2026\/01\/blog-head_nslookup-command_EN-600x315.webp 600w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2026\/01\/blog-head_nslookup-command_EN-768x403.webp 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p>Your website&#8217;s down. DNS issues? Maybe. You need answers fast. That&#8217;s where <strong>nslookup command<\/strong> comes in. This command-line tool queries DNS servers and retrieves domain information in seconds. It&#8217;s been around since the early internet days, and it&#8217;s still the go-to diagnostic tool for network administrators worldwide.<\/p>\n\n\n\n<p>We&#8217;ll show you how to use nslookup for DNS troubleshooting, reverse lookups, and record verification. No fluff, just practical examples you can use right now.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-dns-lookup-tool-explained\">DNS Lookup Tool Explained<\/h2>\n\n\n\n<p>nslookup stands for &#8220;name server lookup&#8221;. It&#8217;s a command-line utility that queries DNS servers to retrieve domain information. You can think of it as a direct line to the internet&#8217;s phonebook.<\/p>\n\n\n\n<p>When you type a domain name into your browser, DNS servers translate that name into an IP address. nslookup lets you peek behind the curtain and see this translation process in action.<\/p>\n\n\n\n<p>The tool works on Windows, Linux, and macOS. It&#8217;s already installed on most systems. Open Command Prompt on Windows or Terminal on Linux\/macOS, type &#8220;<code>nslookup<\/code>&#8221; and you&#8217;re in.<\/p>\n\n\n\n<p>Here&#8217;s what you can use it for:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Find a domain&#8217;s IP address instantly<\/li>\n\n\n\n<li>Perform reverse DNS lookups from IP to domain<\/li>\n\n\n\n<li>Query specific DNS record types<\/li>\n\n\n\n<li>Verify nameserver configurations<\/li>\n<\/ul>\n\n\n\n<p>Unlike ping, which checks if a server responds to network requests, nslookup focuses exclusively on DNS queries. It doesn&#8217;t verify connectivity, just DNS resolution.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-dns-troubleshooting-with-nslookup\">DNS Troubleshooting with Nslookup<\/h2>\n\n\n\n<p>DNS problems break websites. Fast. nslookup helps you diagnose these issues before they escalate.<\/p>\n\n\n\n<p>Let&#8217;s say your website isn&#8217;t loading. First, check if the DNS server can resolve your domain:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup yourdomain.com<\/code><\/pre>\n\n\n\n<p>If this returns an IP address, DNS resolution works. If you see an error, your DNS server can&#8217;t find the domain.<\/p>\n\n\n\n<p>Next, test a specific DNS server. Maybe your local DNS is down, but Google&#8217;s public DNS works fine:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup yourdomain.com 8.8.8.8<\/code><\/pre>\n\n\n\n<p>This queries Google&#8217;s DNS server directly. If it works here but not with your default DNS, you&#8217;ve isolated the problem.<\/p>\n\n\n\n<p>Common DNS troubleshooting scenarios:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>DNS server failure &#8211; no response to queries<\/li>\n\n\n\n<li>Incorrect nameserver configuration &#8211; wrong NS records<\/li>\n\n\n\n<li>DNS propagation delays &#8211; new records not yet updated<\/li>\n\n\n\n<li>Cached outdated records &#8211; resolver serving old data<\/li>\n<\/ul>\n\n\n\n<p>To check nameservers, use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup -type=ns yourdomain.com<\/code><\/pre>\n\n\n\n<p>This returns all nameservers for your domain. Verify these match what you configured with your domain registrar.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-essential-nslookup-commands-list\">Essential Nslookup Commands List<\/h2>\n\n\n\n<p>nslookup offers several commands for different DNS queries. Here&#8217;s what you need to know.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-basic-commands\">Basic Commands<\/h3>\n\n\n\n<p><code>name <\/code>&#8211; Shows domain information using your default DNS server<\/p>\n\n\n\n<p><code>server name<\/code> &#8211; Changes the default DNS server to a different one<\/p>\n\n\n\n<p><code>root <\/code>&#8211; Sets the root server as your default<\/p>\n\n\n\n<p><code>exit <\/code>&#8211; Quits nslookup and returns to command line<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-record-type-queries\">Record Type Queries<\/h3>\n\n\n\n<p><code>set type=A <\/code>&#8211; Query A records (IPv4 addresses)<\/p>\n\n\n\n<p><code>set type=AAAA<\/code> &#8211; Query AAAA records (IPv6 addresses)<\/p>\n\n\n\n<p><code>set type=MX<\/code> &#8211; Query MX records (mail servers)<\/p>\n\n\n\n<p><code>set type=CNAME<\/code> &#8211; Query CNAME records (aliases)<\/p>\n\n\n\n<p><code>set type=PTR<\/code> &#8211; Query PTR records (reverse DNS)<\/p>\n\n\n\n<p><code>set type=SOA <\/code>&#8211; Query SOA records (authoritative info)<\/p>\n\n\n\n<p><code>set type=ANY<\/code> &#8211; Display all available records<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-advanced-options\">Advanced Options<\/h3>\n\n\n\n<p><code>set debug<\/code> &#8211; Shows detailed debugging information<\/p>\n\n\n\n<p><code>set recurse<\/code> &#8211; Forces DNS server to query other servers if needed<\/p>\n\n\n\n<p><code>help <\/code>&#8211; Lists all available commands<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-use-nslookup-command\">How to Use Nslookup Command<\/h2>\n\n\n\n<p>nslookup runs in two modes: interactive and non-interactive. Pick the one that fits your needs.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-non-interactive-mode\">Non-Interactive Mode<\/h3>\n\n\n\n<p>This is your quick lookup mode. One command, one result. Perfect for scripts and single queries.<\/p>\n\n\n\n<p>Syntax: <code>nslookup [domain] [dns-server]<\/code><\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup google.com<\/code><\/pre>\n\n\n\n<p>This returns Google&#8217;s IP address using your default DNS server.<\/p>\n\n\n\n<p>Want to use a specific DNS server? Add it:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup google.com 1.1.1.1<\/code><\/pre>\n\n\n\n<p>This queries Cloudflare&#8217;s DNS server (1.1.1.1) instead of your default.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-interactive-mode\">Interactive Mode<\/h3>\n\n\n\n<p>Interactive mode lets you run multiple queries without retyping &#8220;nslookup&#8221; every time. Just type:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup<\/code><\/pre>\n\n\n\n<p>The prompt changes to &gt;. Now you can enter domains, switch servers, and change query types.<\/p>\n\n\n\n<p>Example session:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt; google.com<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt; server 8.8.8.8<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt; set type=mx<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt; google.com<\/code><\/pre>\n\n\n\n<p>This checks Google&#8217;s IP, switches to Google&#8217;s DNS server, changes to MX record queries, then checks Google&#8217;s mail servers.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-platform-specific-usage\">Platform-Specific Usage<\/h3>\n\n\n\n<p>Windows: Open Command Prompt (cmd) and type <code>nslookup<\/code><\/p>\n\n\n\n<p>Linux: Open Terminal and type <code>nslookup<\/code><\/p>\n\n\n\n<p>macOS: Open Terminal and type <code>nslookup<\/code><\/p>\n\n\n\n<p>The commands work identically across all platforms. The only difference is how you access the command line.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-understanding-dns-record-types\">Understanding DNS Record Types<\/h2>\n\n\n\n<p>DNS records contain different types of information. Each record type serves a specific purpose.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-a-record\">A Record<\/h3>\n\n\n\n<p>Maps a domain name to an IPv4 address. This is the most common DNS record.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup -type=a example.com<\/code><\/pre>\n\n\n\n<p>Returns: 93.184.216.34<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-aaaa-record\">AAAA Record<\/h3>\n\n\n\n<p>Same as A record, but for IPv6 addresses instead of IPv4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup -type=aaaa example.com<\/code><\/pre>\n\n\n\n<p>Returns: 2606:2800:220:1:248:1893:25c8:1946<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-cname-record\">CNAME Record<\/h3>\n\n\n\n<p>Creates an alias from one domain to another. Useful for subdomains.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup -type=cname www.example.com<\/code><\/pre>\n\n\n\n<p>Returns: www.example.com canonical name = example.com<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-mx-record\">MX Record<\/h3>\n\n\n\n<p>Specifies mail servers responsible for receiving email for the domain.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup -type=mx example.com<\/code><\/pre>\n\n\n\n<p>Returns: mail exchanger = 10 mail.example.com<\/p>\n\n\n\n<p>The number (10) is the priority. Lower numbers = higher priority.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-ptr-record\">PTR Record<\/h3>\n\n\n\n<p>Maps an IP address to a domain name. Used for reverse DNS lookups.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup 142.250.4.113<\/code><\/pre>\n\n\n\n<p>Returns: 113.4.250.142.in-addr.arpa name = sm-in-f113.1e100.net<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-soa-record\">SOA Record<\/h3>\n\n\n\n<p>Contains authoritative information about the domain including admin email, serial number, and refresh intervals.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup -type=soa example.com<\/code><\/pre>\n\n\n\n<p>Returns detailed zone information and the primary nameserver.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-authoritative-vs-non-authoritative-answers\">Authoritative vs Non-Authoritative Answers<\/h2>\n\n\n\n<p>When nslookup returns results, you&#8217;ll often see &#8220;non-authoritative answer&#8221; in the output. This is not an error. It&#8217;s just telling you where the information came from.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-non-authoritative-answers\">Non-Authoritative Answers<\/h3>\n\n\n\n<p>These come from your DNS resolver&#8217;s cache. Your internet service provider&#8217;s DNS server stores recent lookups to speed up future requests.<\/p>\n\n\n\n<p>When you query a domain, your resolver checks its cache first. If the record exists there, it returns a non-authoritative answer.<\/p>\n\n\n\n<p>Problem: cached data might be outdated. If you changed your domain&#8217;s DNS records recently, the cache might still show old information.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-authoritative-answers\">Authoritative Answers<\/h3>\n\n\n\n<p>These come directly from the domain&#8217;s authoritative nameserver. This is the source of truth for the domain&#8217;s DNS records.<\/p>\n\n\n\n<p>To get an authoritative answer:<\/p>\n\n\n\n<p>1. Find the authoritative nameserver:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup -type=soa example.com<\/code><\/pre>\n\n\n\n<p>2. Query that nameserver directly:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup example.com ns1.example.com<\/code><\/pre>\n\n\n\n<p>Now you&#8217;re getting fresh data straight from the source. No cache involved.<\/p>\n\n\n\n<p>When troubleshooting DNS propagation issues, always get authoritative answers. They show you the current state of your DNS records, not cached versions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-reverse-dns-lookup-guide\">Reverse DNS Lookup Guide<\/h2>\n\n\n\n<p>Reverse DNS lookup does the opposite of a normal lookup. Instead of finding an IP address from a domain name, it finds a domain name from an IP address.<\/p>\n\n\n\n<p>This is critical for email servers. Many mail servers reject emails from IP addresses without proper reverse DNS records. It&#8217;s an anti-spam measure.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-how-to-perform-reverse-dns-lookup\">How to Perform Reverse DNS Lookup<\/h3>\n\n\n\n<p>Just type nslookup followed by the IP address:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup 8.8.8.8<\/code><\/pre>\n\n\n\n<p>Returns: dns.google<\/p>\n\n\n\n<p>The system automatically detects you entered an IP address and performs a reverse lookup.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-verifying-ptr-records\">Verifying PTR Records<\/h3>\n\n\n\n<p>PTR records make reverse DNS possible. They&#8217;re stored in special DNS zones that use reversed IP addresses.<\/p>\n\n\n\n<p>For IP 192.0.2.1, the PTR record exists at:<\/p>\n\n\n\n<p>1.2.0.192.in-addr.arpa<\/p>\n\n\n\n<p>To check if your mail server has a proper PTR record:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup your-mail-server-ip<\/code><\/pre>\n\n\n\n<p>You should see your mail server&#8217;s hostname. If you don&#8217;t, your PTR record isn&#8217;t configured.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-common-use-cases\">Common Use Cases<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Email server verification &#8211; confirming IP matches hostname<\/li>\n\n\n\n<li>Security analysis &#8211; identifying suspicious IP addresses<\/li>\n\n\n\n<li>Network troubleshooting &#8211; verifying proper DNS configuration<\/li>\n\n\n\n<li>Log analysis &#8211; resolving IP addresses in server logs<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-nslookup-vs-ping-key-differences\">Nslookup vs Ping: Key Differences<\/h2>\n\n\n\n<p>People often confuse nslookup and ping. They&#8217;re both network diagnostic tools, but they serve different purposes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-what-nslookup-does\">What Nslookup Does<\/h3>\n\n\n\n<p>Queries DNS servers only. It resolves domain names to IP addresses and retrieves DNS records. That&#8217;s it.<\/p>\n\n\n\n<p>nslookup doesn&#8217;t test network connectivity. It doesn&#8217;t verify if a server is online or accepting connections.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-what-ping-does\">What Ping Does<\/h3>\n\n\n\n<p>Tests network connectivity. It sends ICMP packets to a target and measures response time.<\/p>\n\n\n\n<p>Ping does perform DNS resolution as a first step, but its primary function is checking if a host is reachable.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-when-to-use-ping-vs-when-to-use-nslookup\">When to Use Ping vs When to Use nslookup<\/h3>\n\n\n\n<p>Use nslookup when:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You need to check DNS records<\/li>\n\n\n\n<li>You&#8217;re troubleshooting DNS resolution issues<\/li>\n\n\n\n<li>You want to verify nameserver configurations<\/li>\n\n\n\n<li>You need to query specific record types<\/li>\n<\/ul>\n\n\n\n<p>Use ping when:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You want to test if a server is online<\/li>\n\n\n\n<li>You need to measure network latency<\/li>\n\n\n\n<li>You&#8217;re checking for packet loss<\/li>\n\n\n\n<li>You want to verify basic network connectivity<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-practical-example\">Practical Example<\/h3>\n\n\n\n<p>Website won&#8217;t load. Here&#8217;s how to diagnose:<\/p>\n\n\n\n<p>1. Run nslookup example.com<\/p>\n\n\n\n<p>Does it return an IP? Yes? DNS works. No? DNS problem.<\/p>\n\n\n\n<p>2. Run ping example.com<\/p>\n\n\n\n<p>Does it get replies? Yes? Server&#8217;s online. No? Server or network problem.<\/p>\n\n\n\n<p>See the difference? nslookup checks name resolution. Ping checks connectivity.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-nslookup-command-modes\">Nslookup Command Modes<\/h2>\n\n\n\n<p>We touched on this earlier, but let&#8217;s break down the two modes in detail.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-interactive-mode-benefits\">Interactive Mode Benefits<\/h3>\n\n\n\n<p>Perfect for:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Running multiple queries in one session<\/li>\n\n\n\n<li>Testing different DNS servers<\/li>\n\n\n\n<li>Switching between record types<\/li>\n\n\n\n<li>Deep troubleshooting sessions<\/li>\n<\/ul>\n\n\n\n<p>Start interactive mode:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup<\/code><\/pre>\n\n\n\n<p>You&#8217;ll see:<\/p>\n\n\n\n<p>Default Server: [your DNS server]<\/p>\n\n\n\n<p>Address: [DNS server IP]<\/p>\n\n\n\n<p>&gt;<\/p>\n\n\n\n<p>Now you&#8217;re in. Type commands one per line:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt; set type=mx<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt; google.com<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt; set type=a<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt; yahoo.com<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt; exit<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-non-interactive-mode-benefits\">Non-Interactive Mode Benefits<\/h3>\n\n\n\n<p>Perfect for:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Quick single lookups<\/li>\n\n\n\n<li>Automation and scripting<\/li>\n\n\n\n<li>Command-line one-liners<\/li>\n\n\n\n<li>Integration with other tools<\/li>\n<\/ul>\n\n\n\n<p>Syntax: <code>nslookup [options] [domain] [dns-server]<\/code><\/p>\n\n\n\n<p>Examples:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup -type=mx example.com<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup example.com 8.8.8.8<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup -type=ns example.com 1.1.1.1<\/code><\/pre>\n\n\n\n<p>Each command runs independently. You get the result and return to your normal command prompt.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-nslookup-and-dns-relationship\">Nslookup and DNS Relationship<\/h2>\n\n\n\n<p>Let&#8217;s clear up a common misconception: nslookup is not DNS itself.<\/p>\n\n\n\n<p>DNS is the Domain Name System, the distributed database that stores all domain information across millions of servers worldwide.<\/p>\n\n\n\n<p>nslookup is a client tool that queries DNS servers. Think of it as a web browser for DNS records. Your browser isn&#8217;t the web, it just accesses it. Same deal here.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-how-they-work-together\">How They Work Together<\/h3>\n\n\n\n<p>When you run nslookup:<\/p>\n\n\n\n<p>1. It sends a query to a DNS server<\/p>\n\n\n\n<p>2. The DNS server processes the request<\/p>\n\n\n\n<p>3. The server returns the requested information<\/p>\n\n\n\n<p>4. nslookup displays the results<\/p>\n\n\n\n<p>That&#8217;s it. nslookup doesn&#8217;t store DNS records. It doesn&#8217;t manage domains. It&#8217;s purely a query tool.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-dns-infrastructure-components\">DNS Infrastructure Components<\/h3>\n\n\n\n<p>To understand nslookup&#8217;s role, here&#8217;s the DNS ecosystem:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Authoritative nameservers &#8211; store actual DNS records<\/li>\n\n\n\n<li>Recursive resolvers &#8211; handle queries and cache results<\/li>\n\n\n\n<li>Root servers &#8211; top level of DNS hierarchy<\/li>\n\n\n\n<li>TLD servers &#8211; manage top-level domains (.com, .org, etc.)<\/li>\n\n\n\n<li><\/li>\n<\/ul>\n\n\n\n<p>nslookup interacts with all of these. It&#8217;s your window into the DNS infrastructure, letting you see what&#8217;s happening behind the scenes when you type a URL.<\/p>\n\n\n\n<p>Want to troubleshoot DNS? nslookup is your first tool. Want to verify new records? nslookup. Need to check propagation? nslookup.<\/p>\n\n\n\n<p>It&#8217;s simple, it&#8217;s powerful, and it&#8217;s already on your system. Master it, and you&#8217;ll solve DNS issues faster than most network administrators.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Solve DNS issues faster with nslookup, from basic domain lookups to deeper record checks. Guides you through A, AAAA, MX, CNAME, PTR, and SOA records, reverse DNS, authoritative answers, interactive mode, and nslookup vs ping.<\/p>\n","protected":false},"author":44,"featured_media":27516,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[18],"tags":[],"ppma_author":[3402],"class_list":["post-27346","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"uagb_featured_image_src":{"full":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2026\/01\/blog-head_nslookup-command_EN.webp",1200,630,false],"thumbnail":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2026\/01\/blog-head_nslookup-command_EN-150x150.webp",150,150,true],"medium":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2026\/01\/blog-head_nslookup-command_EN-600x315.webp",600,315,true],"medium_large":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2026\/01\/blog-head_nslookup-command_EN-768x403.webp",768,403,true],"large":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2026\/01\/blog-head_nslookup-command_EN.webp",1200,630,false],"1536x1536":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2026\/01\/blog-head_nslookup-command_EN.webp",1200,630,false],"2048x2048":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2026\/01\/blog-head_nslookup-command_EN.webp",1200,630,false]},"uagb_author_info":{"display_name":"Milan Ivanovic","author_link":"https:\/\/contabo.com\/blog\/author\/milan\/"},"uagb_comment_info":0,"uagb_excerpt":"Solve DNS issues faster with nslookup, from basic domain lookups to deeper record checks. Guides you through A, AAAA, MX, CNAME, PTR, and SOA records, reverse DNS, authoritative answers, interactive mode, and nslookup vs ping.","authors":[{"term_id":3402,"user_id":0,"is_guest":1,"slug":"contabro","display_name":"ContaBro","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"_links":{"self":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/posts\/27346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/users\/44"}],"replies":[{"embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/comments?post=27346"}],"version-history":[{"count":7,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/posts\/27346\/revisions"}],"predecessor-version":[{"id":30591,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/posts\/27346\/revisions\/30591"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/media\/27516"}],"wp:attachment":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/media?parent=27346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/categories?post=27346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/tags?post=27346"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=27346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}