{"id":1120,"date":"2013-07-15T12:17:23","date_gmt":"2013-07-15T12:17:23","guid":{"rendered":"http:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=1120"},"modified":"2023-02-13T09:02:49","modified_gmt":"2023-02-13T09:02:49","slug":"whm-shows-incorrect-name-server-ips","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/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.co.uk\/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 \/scripts2\/listassignednsips the IP field shows blank. In earlier cPanel releases you should set them in file \/etc\/nameserverips. 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 .yaml file. YAML is a human-readable data serialization format that takes concepts from programming languages such as C, Perl, etc. Open the file \/var\/cpanel\/nameserverips.yaml 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":[9,4],"tags":[],"class_list":["post-1120","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-cpanel-faq","category-web-hosting-faq"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\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.co.uk\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\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.co.uk\/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=\"2023-02-13T09:02:49+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=\"Estimated 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\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/\",\"name\":\"WHM shows incorrect Name Server IP's\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"datePublished\":\"2013-07-15T12:17:23+00:00\",\"dateModified\":\"2023-02-13T09:02:49+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/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.co.uk\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WHM shows incorrect Name Server IP&#8217;s\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g\",\"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.co.uk\/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.co.uk\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/","og_locale":"en_GB","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.co.uk\/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":"2023-02-13T09:02:49+00:00","author":"admin","twitter_misc":{"Written by":"admin","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/","name":"WHM shows incorrect Name Server IP's","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"datePublished":"2013-07-15T12:17:23+00:00","dateModified":"2023-02-13T09:02:49+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/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.co.uk\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/whm-shows-incorrect-name-server-ips\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"WHM shows incorrect Name Server IP&#8217;s"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g","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.co.uk\/hosting-faqs\/author\/admin\/"}]}},"views":1379,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1120","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=1120"}],"version-history":[{"count":6,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1120\/revisions"}],"predecessor-version":[{"id":3712,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1120\/revisions\/3712"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=1120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=1120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=1120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}