{"id":2320,"date":"2021-09-27T05:50:01","date_gmt":"2021-09-27T05:50:01","guid":{"rendered":"https:\/\/ownwebservers.com\/kb\/?p=2320"},"modified":"2021-09-27T05:50:01","modified_gmt":"2021-09-27T05:50:01","slug":"how-to-change-the-ip-address-of-a-domain-controller","status":"publish","type":"post","link":"https:\/\/ownwebservers.com\/kb\/how-to-change-the-ip-address-of-a-domain-controller\/","title":{"rendered":"How to change the IP Address of a Domain Controller?"},"content":{"rendered":"<h2>Overview<\/h2>\n<p>The IP of a domain controller is typically statically allotted to the server because of its importance, or to avoid any amendment it&#8217;s distributed via DHCP through a lease reservation.<\/p>\n<p>Sometimes it&#8217;s necessary to vary the IP allotted to a domain controller, particularly if you would like to vary the network address of its data system.<br \/>\nHere, we&#8217;ll take Windows Server 2012 R2, as a domain controller and additionally DNS, all for the domain name checkwhois.com.<\/p>\n<p><strong>IP address changing<\/strong><\/p>\n<p>We will begin by changing the IP address, however before that, we&#8217;ll make sure the domain controller is in good state with dcdiag. Open a command prompt as an Administrator and run this (replace SRV-AD01 with the name of your DC).<\/p>\n<pre>| Dcdiag \/ s: SRV-AD01<\/pre>\n<p>Make sure to check that the tests are successful and then go on! you&#8217;ll amendment the IP address of the server, going into the settings of the network card, via netsh or via PowerShell.<\/p>\n<p><strong>New IP address saving<\/strong><\/p>\n<p>A domain depends on the utilization of a DNS server for name resolution, client use records from that server to contact your domain controller. Therefore, it&#8217;s imperative to update the DNS records as per the DC.<\/p>\n<p>On the DC, first, clear the local DNS cache and initiate the registration within the DNS:<\/p>\n<pre>| Ipconfig \/ flushdns &amp; ipconfig \/ registerdns<\/pre>\n<p>Finally, a correction command is executed via dcdiag, particularly for correcting Service Principle Name (SPN) records. This corresponds to some reasonably alias within the \u201cKerberos\u201d world within the same manner that CNAME is employed to form an alias of DNS record.<\/p>\n<pre>| Dcdiag \/ fix<\/pre>\n<p>By the way, make sure the varied tests passed are OK. don&#8217;t hesitate to perform name resolution tests with nslookup.<\/p>\n<h3>To finish some further information:<\/h3>\n<p>\u2013 The DNS cache of client computers and member servers should be flush (ipconfig \/ flushdns)<\/p>\n<p>\u2013 In your DHCP server configuration Change the DNS address<\/p>\n<p>\u2013 Between your different name servers Check DNS records replication, if you have more than one<\/p>\n<p>\u2013 Check the support for the new IP address in Active Directory Sites and Services<\/p>\n<p>\u2013 Don\u2019t forget to form client computers\/servers points to the new IP address of the DC and not the previous one.<\/p>\n<p><strong>Note<\/strong>: It is preferable to test the procedure before any modification of this type in a pre-production environment.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview The IP of a domain controller is typically statically allotted to the server because of its importance, or to avoid any amendment it&#8217;s distributed via DHCP through a lease reservation. Sometimes it&#8217;s necessary to vary the IP allotted to a domain controller, particularly if you would like to vary the network address of its [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[],"class_list":["post-2320","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v15.2.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to change the IP Address of a Domain Controller? - OWS KB<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ownwebservers.com\/kb\/how-to-change-the-ip-address-of-a-domain-controller\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to change the IP Address of a Domain Controller? - OWS KB\" \/>\n<meta property=\"og:description\" content=\"Overview The IP of a domain controller is typically statically allotted to the server because of its importance, or to avoid any amendment it&#8217;s distributed via DHCP through a lease reservation. Sometimes it&#8217;s necessary to vary the IP allotted to a domain controller, particularly if you would like to vary the network address of its [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ownwebservers.com\/kb\/how-to-change-the-ip-address-of-a-domain-controller\/\" \/>\n<meta property=\"og:site_name\" content=\"OWS KB\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-27T05:50:01+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\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=\"2 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"OWS KB\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/ownwebservers.com\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-change-the-ip-address-of-a-domain-controller\/#webpage\",\"url\":\"https:\/\/ownwebservers.com\/kb\/how-to-change-the-ip-address-of-a-domain-controller\/\",\"name\":\"How to change the IP Address of a Domain Controller? - OWS KB\",\"isPartOf\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\"},\"datePublished\":\"2021-09-27T05:50:01+00:00\",\"dateModified\":\"2021-09-27T05:50:01+00:00\",\"author\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\"},\"breadcrumb\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-change-the-ip-address-of-a-domain-controller\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ownwebservers.com\/kb\/how-to-change-the-ip-address-of-a-domain-controller\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-change-the-ip-address-of-a-domain-controller\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-change-the-ip-address-of-a-domain-controller\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/how-to-change-the-ip-address-of-a-domain-controller\/\",\"name\":\"How to change the IP Address of a Domain Controller?\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ba5db5841d48bd7517bb2583e13983e6d2fa56a4099a0b3c61ad2daefc321303?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/ownwebservers.com\/kb\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2320","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/comments?post=2320"}],"version-history":[{"count":1,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2320\/revisions"}],"predecessor-version":[{"id":2321,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2320\/revisions\/2321"}],"wp:attachment":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/media?parent=2320"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/categories?post=2320"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/tags?post=2320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}