{"id":59116,"date":"2023-10-31T09:00:08","date_gmt":"2023-10-31T08:00:08","guid":{"rendered":"https:\/\/nolabnoparty.com\/?p=59116"},"modified":"2023-11-30T16:47:12","modified_gmt":"2023-11-30T15:47:12","slug":"dell-vxrail-change-dns-server-ip-using-rest-api","status":"publish","type":"post","link":"https:\/\/nolabnoparty.com\/en\/dell-vxrail-change-dns-server-ip-using-rest-api\/","title":{"rendered":"Dell VxRail: change DNS Server IP using REST API"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter wp-image-59140 size-full\" title=\"dell-vxrail-change-dns-server-ip-using-rest-api-01\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2023\/10\/dell-vxrail-change-dns-server-ip-using-rest-api-01.jpg\" alt=\"dell-vxrail-change-dns-server-ip-using-rest-api-01\" width=\"602\" height=\"202\" \/><\/p>\n<p>After completing the deployment of the <a href=\"https:\/\/www.dell.com\/en-us\/dt\/converged-infrastructure\/vxrail\/index.htm\" target=\"_blank\" rel=\"noopener\">VxRail infrastructure<\/a>, you may need to change DNS Server IP to point it to a <strong>different DNS<\/strong>.<\/p>\n<p>If you deploy a brand new VxRail infrastructure, a <strong>DNS server may not be available<\/strong> on the network.<!--more--><\/p>\n<p>Since the installation of the VxRail\/vSAN <strong>heavily depends on the DNS<\/strong>, if no external DNS Servers are available during the deployment, an internal DNS in the VxRail Manager can be used.<\/p>\n<p>&nbsp;<\/p>\n<h2>Check current VxRail cluster DNS configuration<\/h2>\n<p>First thing to check is the <strong>current DNS Server<\/strong> in use by the VxRail.<\/p>\n<p>From the preferred browser, access the following page:<\/p>\n<p><em><span style=\"color: #0000ff;\">https:\/\/&lt;VxRail_Manager&gt;\/rest\/vxm\/api-doc.html#\/operations\/v1_system_dns_get<\/span><\/em><\/p>\n<p>In the example the VxRail Manager IP is <em>10.127.200.12<\/em>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-59142 size-large\" title=\"dell-vxrail-change-dns-server-ip-using-rest-api-02\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2023\/10\/dell-vxrail-change-dns-server-ip-using-rest-api-02-600x394.jpg\" alt=\"dell-vxrail-change-dns-server-ip-using-rest-api-02\" width=\"600\" height=\"394\" \/><\/p>\n<p>Enter the VxRail vCenter <strong>SSO authentication credentials<\/strong> (in the example <em>administrator@vsphere.local<\/em>) and click <strong>Send Request<\/strong> button.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-59144 size-large\" title=\"dell-vxrail-change-dns-server-ip-using-rest-api-03\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2023\/10\/dell-vxrail-change-dns-server-ip-using-rest-api-03-600x349.jpg\" alt=\"dell-vxrail-change-dns-server-ip-using-rest-api-03\" width=\"600\" height=\"349\" \/><\/p>\n<p>The API client will authenticate and the <strong>200 OK response<\/strong> returns the requested information. In the example, the <strong>current DNS Server IP<\/strong> is <em>10.127.200.12<\/em> and the VxRail Manager is configured tu use an <strong>internal DNS<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-59146 size-full\" title=\"dell-vxrail-change-dns-server-ip-using-rest-api-04\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2023\/10\/dell-vxrail-change-dns-server-ip-using-rest-api-04.jpg\" alt=\"dell-vxrail-change-dns-server-ip-using-rest-api-04\" width=\"400\" height=\"551\" \/><\/p>\n<p>The <strong>configured DNS Server<\/strong> can be also checked in the vSphere Client. The <strong>Preferred DNS server<\/strong> in use has the same IP <em>10.127.200.12<\/em> value as the VxRail Manager.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-59148 size-large\" title=\"dell-vxrail-change-dns-server-ip-using-rest-api-05\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2023\/10\/dell-vxrail-change-dns-server-ip-using-rest-api-05-600x298.jpg\" alt=\"dell-vxrail-change-dns-server-ip-using-rest-api-05\" width=\"600\" height=\"298\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>How to change DNS Server IP in the VxRail cluster<\/h2>\n<p>To change DNS Server IP, from the preferred browser enter the address:<\/p>\n<p><em><span style=\"color: #0000ff;\">https:\/\/&lt;VxRail_Manager&gt;\/rest\/vxm\/api-doc.html#\/operations\/v1_system_dns_post<\/span><\/em><\/p>\n<p>To configure the new DNS settings, you need to enter the appropriated values accordingly:<\/p>\n<ul>\n<li><strong>Auth<\/strong> - make sure the correct VxRail vCenter SSO authentication credentials are entered.<\/li>\n<li><strong>vCenter<\/strong> - enter the administrator SSO username and password.<\/li>\n<li><strong>Components<\/strong> - specify which DNS Servers are updated. To replace all DNS Servers in the cluster enter <strong>ALL<\/strong> (default). To replace only the VxRail DNS, enter <strong>VXM<\/strong>.<\/li>\n<li><strong>Servers<\/strong> - enter the DNS IP addresses to use (in the example <em>10.129.25.11<\/em>, <em>10.129.25.12<\/em>).<\/li>\n<\/ul>\n<p>Click <strong>Send Request<\/strong> button to replace the DNS IPs.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-59150 size-full\" title=\"dell-vxrail-change-dns-server-ip-using-rest-api-06\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2023\/10\/dell-vxrail-change-dns-server-ip-using-rest-api-06.jpg\" alt=\"dell-vxrail-change-dns-server-ip-using-rest-api-06\" width=\"413\" height=\"577\" \/><\/p>\n<p>The operation <strong>may take some minutes<\/strong> depending on the number of <a href=\"https:\/\/nolabnoparty.com\/en\/vmware-esxi-7-disable-no-coredump-target-has-been-configured-warning\/\">ESXi hosts<\/a> configured in the cluster. If the <strong>200 OK<\/strong> response code is returned, the change DNS Server IP <strong>procedure succeded<\/strong>. Note the DNS in use is now <strong>reported as external<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-59152 size-full\" title=\"dell-vxrail-change-dns-server-ip-using-rest-api-07\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2023\/10\/dell-vxrail-change-dns-server-ip-using-rest-api-07.jpg\" alt=\"dell-vxrail-change-dns-server-ip-using-rest-api-07\" width=\"412\" height=\"889\" \/><\/p>\n<p>Checking the <strong>configured DNS Server<\/strong> in the vSphere Client, the <strong>Preferred DNS server<\/strong> is the now set to <em>10.129.25.11<\/em> and <em>10.129.25.12<\/em>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-59154 size-large\" title=\"dell-vxrail-change-dns-server-ip-using-rest-api-08\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2023\/10\/dell-vxrail-change-dns-server-ip-using-rest-api-08-600x298.jpg\" alt=\"dell-vxrail-change-dns-server-ip-using-rest-api-08\" width=\"600\" height=\"298\" \/><\/p>\n<p>The VxRail infrastructure is now using the <strong>configured DNS Servers<\/strong>.<\/p>\n<p><img decoding=\"async\" title=\"signature\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/images\/firma.jpg\" alt=\"signature\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After completing the deployment of the VxRail infrastructure, you may need to change DNS Server IP to point it to a different DNS. If you deploy a brand new VxRail infrastructure, a DNS server may not be available on the network.<\/p>\n","protected":false},"author":3,"featured_media":59140,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":{"linkedin_93tdZWzMZc_93tdZWzMZc":"","facebook_2879994398731222_17841400390232720":"","twitter_113568041_113568041":"","mastodon_115463926174894442_115463926174894442":""},"rop_publish_now_history":[],"rop_publish_now_status":"pending","footnotes":""},"categories":[925,1431],"tags":[617,2745,2747,2746],"class_list":["post-59116","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hardware-en","category-networking-en","tag-dns-en","tag-external","tag-rest-api","tag-vxrail","has_thumb"],"_links":{"self":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/59116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/comments?post=59116"}],"version-history":[{"count":0,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/59116\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media\/59140"}],"wp:attachment":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media?parent=59116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/categories?post=59116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/tags?post=59116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}