{"id":900010,"date":"2026-06-25T00:00:00","date_gmt":"2026-06-25T00:00:00","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=900010"},"modified":"2026-07-21T11:30:58","modified_gmt":"2026-07-21T15:30:58","slug":"check-dns-for-a-domain","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/domain-names\/dns-nameserver-changes\/check-dns-for-a-domain\/","title":{"rendered":"How to Check DNS for a Domain"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">When a site is unreachable or email stops flowing, the first thing to verify is what Domain Name System (DNS) records are actually live on the internet. This guide shows you how to check DNS for a domain from your terminal using <code>whois<\/code> and <code>dig<\/code>, so you can confirm nameservers, inspect individual record types, and query a specific nameserver directly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Replace <code>&lt;your-domain&gt;<\/code> with the actual domain name in every command below.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Check Domain Registration and Nameservers with whois<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>whois<\/code> command returns registration details for a domain: the registrar, expiration date, and the nameservers the domain is delegated to. Run it first to confirm which nameservers are authoritative before you dig into individual records.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">whois<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #F97583\">&lt;<\/span><span style=\"color: #9ECBFF\">your-domai<\/span><span style=\"color: #E1E4E8\">n<\/span><span style=\"color: #F97583\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Look for the <code>Name Server<\/code> lines in the output. Those are the servers responsible for answering DNS queries for the domain. If they are not pointing to InMotion Hosting nameservers (for example, <code>ns1.inmotionhosting.com<\/code>), DNS changes made inside cPanel will not be visible on the public internet until the domain is re-delegated.<\/p>\n\n\n\n<p class=\"alert alert-info wp-block-paragraph\"><strong>Tip:<\/strong> You can also look up registration details in a browser at <a href=\"https:\/\/www.whois.com\/\" target=\"_blank\" rel=\"noopener\">whois.com<\/a> without opening a terminal.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Check DNS for a Domain with dig<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>dig<\/code> command queries DNS and displays the records currently propagated on the public internet. By default, it returns the A record, which is the domain&#8217;s IPv4 address.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">dig<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #F97583\">&lt;<\/span><span style=\"color: #9ECBFF\">your-domai<\/span><span style=\"color: #E1E4E8\">n<\/span><span style=\"color: #F97583\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>ANSWER SECTION<\/code> of the output shows the current A record. If the IP address does not match your server, the record has not propagated yet, or the DNS zone has an error.<\/p>\n\n\n\n<p class=\"alert alert-info wp-block-paragraph\"><strong>Tip:<\/strong> <a href=\"https:\/\/whatsmydns.net\" target=\"_blank\" rel=\"noopener\">whatsmydns.net<\/a> shows propagation status across many global resolvers at once, which is useful for spotting regional propagation delays.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Check a Specific DNS Record Type<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To look up a record type other than A, add the type between <code>dig<\/code> and the domain name. Common types are <code>mx<\/code> (mail routing), <code>cname<\/code> (aliases), and <code>txt<\/code> (SPF, DKIM, and domain verification records).<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">dig<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">mx<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #F97583\">&lt;<\/span><span style=\"color: #9ECBFF\">your-domai<\/span><span style=\"color: #E1E4E8\">n<\/span><span style=\"color: #F97583\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Swap <code>mx<\/code> for any record type you need to inspect. For example, <code>dig txt &lt;your-domain&gt;<\/code> returns all TXT records, which is useful for verifying SPF and DKIM configuration.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Query a Specific Nameserver Directly<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Sometimes you need to see what a particular nameserver is serving rather than what your local resolver returns. Adding <code>@&lt;nameserver&gt;<\/code> to the command sends the query directly to that server, bypassing your local DNS cache.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">dig<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">@<\/span><span style=\"color: #F97583\">&lt;<\/span><span style=\"color: #9ECBFF\">nameserve<\/span><span style=\"color: #E1E4E8\">r<\/span><span style=\"color: #F97583\">&gt;<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #F97583\">&lt;<\/span><span style=\"color: #9ECBFF\">your-domai<\/span><span style=\"color: #E1E4E8\">n<\/span><span style=\"color: #F97583\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">For example, to check what InMotion Hosting&#8217;s primary nameserver is serving for your domain, run:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">dig<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">@ns1.inmotionhosting.com<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #F97583\">&lt;<\/span><span style=\"color: #9ECBFF\">your-domai<\/span><span style=\"color: #E1E4E8\">n<\/span><span style=\"color: #F97583\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">If this returns the correct record but a public resolver does not, propagation is still in progress. If this returns no record, the zone on the InMotion nameserver has an issue and you should review the DNS zone editor in cPanel.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">whois or dig is not installed<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">On macOS, both tools are included with the operating system. On Linux, install them with your package manager: <code>sudo apt install whois dnsutils<\/code> on Debian or Ubuntu, or <code>sudo dnf install whois bind-utils<\/code> on AlmaLinux or CentOS. On Windows, use the Windows Subsystem for Linux (WSL) or an online tool such as <a href=\"https:\/\/www.whois.com\/\" target=\"_blank\" rel=\"noopener\">whois.com<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">dig returns NXDOMAIN or SERVFAIL<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><code>NXDOMAIN<\/code> means no DNS record of that type exists for the domain. Check the DNS zone editor in cPanel to confirm the record is present and correctly formatted. <code>SERVFAIL<\/code> indicates the nameserver encountered an error answering the query, which can happen if the zone file has a syntax error or the nameserver itself is unreachable. If the zone looks correct in cPanel, open a support ticket so the InMotion team can inspect the nameserver configuration.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">With <code>whois<\/code> and <code>dig<\/code> you can check DNS for a domain at every layer: registration and delegation, propagated public records, specific record types, and nameserver-level responses. If you find that records are incorrect, edit the DNS zone directly in cPanel. For related network diagnostics, see <a href=\"\/support\/server\/ssh\/check-if-port-blocked-telnet\/\">How to Check if a Port is Blocked with Telnet<\/a> and <a href=\"\/support\/security\/check-if-port-blocked-netcat-ncat\/\">Check if a Port is Blocked with Netcat \/ Ncat<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When a site is unreachable or email stops flowing, the first thing to verify is what Domain Name System (DNS) records are actually live on the internet. This guide shows you how to check DNS for a domain from your terminal using whois and dig, so you can confirm nameservers, inspect individual record types, and<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/domain-names\/dns-nameserver-changes\/check-dns-for-a-domain\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57032,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_ayudawp_aiss_exclude":false,"_ayudawp_aiss_summary":"This guide shows you how to check DNS for a domain from your terminal using and , so you can confirm nameservers, inspect individual record types, and query a specific nameserver directly. Check the DNS zone editor in cPanel to confirm the record is present and correctly formatted. indicates the nameserver encountered an error answering the query, which can happen if the zone file has a syntax error or the nameserver itself is unreachable. With and you can check DNS for a domain at every layer: registration and delegation, propagated public records, specific record types, and nameserver-level responses.","_ayudawp_aiss_summary_provider":"extractive","_ayudawp_aiss_summary_hash":"7f4cab59e4e2730f8f36c4f7c6f16a39bd38b514","_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[4348],"tags":[],"class_list":["post-900010","post","type-post","status-publish","format-standard","hentry","category-dns-nameserver-changes"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Check DNS for a Domain<\/title>\n<meta name=\"description\" content=\"Learn to check DNS for a domain using whois and dig commands. View nameservers, A records, MX records, and more from your terminal.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/domain-names\/dns-nameserver-changes\/check-dns-for-a-domain\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Check DNS for a Domain\" \/>\n<meta property=\"og:description\" content=\"Learn to check DNS for a domain using whois and dig commands. View nameservers, A records, MX records, and more from your terminal.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/domain-names\/dns-nameserver-changes\/check-dns-for-a-domain\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-06-25T00:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-21T15:30:58+00:00\" \/>\n<meta name=\"author\" content=\"Derrell\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Derrell\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/domain-names\\\/dns-nameserver-changes\\\/check-dns-for-a-domain\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/domain-names\\\/dns-nameserver-changes\\\/check-dns-for-a-domain\\\/\"},\"author\":{\"name\":\"Derrell\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#\\\/schema\\\/person\\\/0736f70b4077032374f89709cdc255b7\"},\"headline\":\"How to Check DNS for a Domain\",\"datePublished\":\"2026-06-25T00:00:00+00:00\",\"dateModified\":\"2026-07-21T15:30:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/domain-names\\\/dns-nameserver-changes\\\/check-dns-for-a-domain\\\/\"},\"wordCount\":618,\"publisher\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#organization\"},\"articleSection\":[\"DNS and Nameserver Changes\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/domain-names\\\/dns-nameserver-changes\\\/check-dns-for-a-domain\\\/\",\"url\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/domain-names\\\/dns-nameserver-changes\\\/check-dns-for-a-domain\\\/\",\"name\":\"How to Check DNS for a Domain\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#website\"},\"datePublished\":\"2026-06-25T00:00:00+00:00\",\"dateModified\":\"2026-07-21T15:30:58+00:00\",\"description\":\"Learn to check DNS for a domain using whois and dig commands. View nameservers, A records, MX records, and more from your terminal.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/domain-names\\\/dns-nameserver-changes\\\/check-dns-for-a-domain\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/domain-names\\\/dns-nameserver-changes\\\/check-dns-for-a-domain\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/domain-names\\\/dns-nameserver-changes\\\/check-dns-for-a-domain\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Check DNS for a Domain\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/inmotionhosting\\\/\",\"https:\\\/\\\/x.com\\\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#\\\/schema\\\/person\\\/0736f70b4077032374f89709cdc255b7\",\"name\":\"Derrell\",\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/derrell-willis\"],\"url\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/author\\\/derrellw\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Check DNS for a Domain","description":"Learn to check DNS for a domain using whois and dig commands. View nameservers, A records, MX records, and more from your terminal.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/domain-names\/dns-nameserver-changes\/check-dns-for-a-domain\/","og_locale":"en_US","og_type":"article","og_title":"How to Check DNS for a Domain","og_description":"Learn to check DNS for a domain using whois and dig commands. View nameservers, A records, MX records, and more from your terminal.","og_url":"https:\/\/www.inmotionhosting.com\/support\/domain-names\/dns-nameserver-changes\/check-dns-for-a-domain\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2026-06-25T00:00:00+00:00","article_modified_time":"2026-07-21T15:30:58+00:00","author":"Derrell","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Derrell","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/domain-names\/dns-nameserver-changes\/check-dns-for-a-domain\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/domain-names\/dns-nameserver-changes\/check-dns-for-a-domain\/"},"author":{"name":"Derrell","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0736f70b4077032374f89709cdc255b7"},"headline":"How to Check DNS for a Domain","datePublished":"2026-06-25T00:00:00+00:00","dateModified":"2026-07-21T15:30:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/domain-names\/dns-nameserver-changes\/check-dns-for-a-domain\/"},"wordCount":618,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["DNS and Nameserver Changes"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/domain-names\/dns-nameserver-changes\/check-dns-for-a-domain\/","url":"https:\/\/www.inmotionhosting.com\/support\/domain-names\/dns-nameserver-changes\/check-dns-for-a-domain\/","name":"How to Check DNS for a Domain","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2026-06-25T00:00:00+00:00","dateModified":"2026-07-21T15:30:58+00:00","description":"Learn to check DNS for a domain using whois and dig commands. View nameservers, A records, MX records, and more from your terminal.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/domain-names\/dns-nameserver-changes\/check-dns-for-a-domain\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/domain-names\/dns-nameserver-changes\/check-dns-for-a-domain\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/domain-names\/dns-nameserver-changes\/check-dns-for-a-domain\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Check DNS for a Domain"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0736f70b4077032374f89709cdc255b7","name":"Derrell","sameAs":["https:\/\/www.linkedin.com\/in\/derrell-willis"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/derrellw\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4348,"name":"DNS and Nameserver Changes","slug":"dns-nameserver-changes","link":"https:\/\/www.inmotionhosting.com\/support\/domain-names\/dns-nameserver-changes\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/900010","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57032"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=900010"}],"version-history":[{"count":2,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/900010\/revisions"}],"predecessor-version":[{"id":900107,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/900010\/revisions\/900107"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=900010"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=900010"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=900010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}