{"id":1120,"date":"2013-07-15T12:17:23","date_gmt":"2013-07-15T12:17:23","guid":{"rendered":"http:\/\/www.milesweb.com\/hosting-faqs\/?p=1120"},"modified":"2026-02-27T15:10:13","modified_gmt":"2026-02-27T09:40:13","slug":"whm-shows-incorrect-name-server-ips","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/","title":{"rendered":"WHM shows incorrect Name Server IP&#8217;s"},"content":{"rendered":"<p>When you set <a title=\"How to set default Name Servers from WHM\" href=\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-set-default-name-servers-from-whm\/\" target=\"_blank\" rel=\"noopener noreferrer\">Default Name Servers from WHM<\/a> &amp; assign them with the IP, it still shows the incorrect ones.<\/p>\n<p>Accessing <strong>Home \u00bb DNS Functions \u00bb Nameserver IPs<\/strong> as root shows no IP&#8217;s. Even if you update them with <strong>\/scripts2\/listassignednsips<\/strong> the IP field shows blank. In earlier cPanel releases you should set them in file <strong>\/etc\/nameserverips<\/strong>. Open this file in your favorite editor, and add entry as below.<\/p>\n<blockquote><p>10.10.10.1=ns1.yourdomain.com<br \/>\n10.10.10.2=ns2.yourdomain.com<\/p><\/blockquote>\n<p>This should show the correct IP&#8217;s. But, in the recent cPanel releases they are stored in a <strong>.yaml<\/strong> file. YAML is a human-readable data serialization format that takes concepts from programming languages such as C, Perl, etc. Open the file <strong>\/var\/cpanel\/nameserverips.yaml<\/strong> and add entry as below.<\/p>\n<blockquote><p>ns1.yourdomain.com:<br \/>\n10.10.10.1: 1<br \/>\ncount: 1<br \/>\nzones: yourdomain.com<br \/>\nns2.yourdomain:<br \/>\n10.10.10.2: 1<br \/>\ncount: 1<br \/>\nzones: yourdomain<\/p><\/blockquote>\n<p>Update them with command<\/p>\n<blockquote><p># \/usr\/local\/cpanel\/scripts\/updatenameserverips<\/p><\/blockquote>\n<p>It will show the correct IP&#8217;s assigned to the Name Servers now.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you set Default Name Servers from WHM &amp; assign them with the IP, it still shows the incorrect ones. Accessing Home \u00bb DNS Functions \u00bb Nameserver IPs as root shows no IP&#8217;s. Even if you update them with \/scripts2\/listassignednsips the IP field shows blank. In earlier cPanel releases you should set them in file [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3053],"tags":[],"class_list":["post-1120","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-advanced-features-and-whm"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>WHM shows incorrect Name Server IP&#039;s<\/title>\n<meta name=\"description\" content=\"When you set Default Name Servers from WHM, you can check for incorrect IP addresses.\" \/>\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.milesweb.in\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WHM shows incorrect Name Server IP&#039;s\" \/>\n<meta property=\"og:description\" content=\"When you set Default Name Servers from WHM, you can check for incorrect IP addresses.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2013-07-15T12:17:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-27T09:40:13+00:00\" \/>\n<meta name=\"author\" content=\"Admin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/\"},\"author\":{\"name\":\"Admin\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\"},\"headline\":\"WHM shows incorrect Name Server IP&#8217;s\",\"datePublished\":\"2013-07-15T12:17:23+00:00\",\"dateModified\":\"2026-02-27T09:40:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/\"},\"wordCount\":166,\"commentCount\":0,\"articleSection\":[\"Advanced Features and WHM\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/\",\"name\":\"WHM shows incorrect Name Server IP's\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\"},\"datePublished\":\"2013-07-15T12:17:23+00:00\",\"dateModified\":\"2026-02-27T09:40:13+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\"},\"description\":\"When you set Default Name Servers from WHM, you can check for incorrect IP addresses.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WHM shows incorrect Name Server IP&#8217;s\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\",\"name\":\"Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/02\/MilesWeb-Logo-150x150.png\",\"contentUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/02\/MilesWeb-Logo-150x150.png\",\"caption\":\"Admin\"},\"description\":\"With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WHM shows incorrect Name Server IP's","description":"When you set Default Name Servers from WHM, you can check for incorrect IP addresses.","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.milesweb.in\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/","og_locale":"en_US","og_type":"article","og_title":"WHM shows incorrect Name Server IP's","og_description":"When you set Default Name Servers from WHM, you can check for incorrect IP addresses.","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2013-07-15T12:17:23+00:00","article_modified_time":"2026-02-27T09:40:13+00:00","author":"Admin","twitter_misc":{"Written by":"Admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/"},"author":{"name":"Admin","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69"},"headline":"WHM shows incorrect Name Server IP&#8217;s","datePublished":"2013-07-15T12:17:23+00:00","dateModified":"2026-02-27T09:40:13+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/"},"wordCount":166,"commentCount":0,"articleSection":["Advanced Features and WHM"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/","name":"WHM shows incorrect Name Server IP's","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"datePublished":"2013-07-15T12:17:23+00:00","dateModified":"2026-02-27T09:40:13+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69"},"description":"When you set Default Name Servers from WHM, you can check for incorrect IP addresses.","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"WHM shows incorrect Name Server IP&#8217;s"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69","name":"Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/02\/MilesWeb-Logo-150x150.png","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/02\/MilesWeb-Logo-150x150.png","caption":"Admin"},"description":"With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.","url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1120","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=1120"}],"version-history":[{"count":8,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1120\/revisions"}],"predecessor-version":[{"id":16520,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1120\/revisions\/16520"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=1120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=1120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=1120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}