Active Directory Pro

Change IP Address on Domain Controller

changing ip address of domain controller

In this post, I will demonstrate how to change the IP address on a domain controller.

Before you change the IP address it is very important to run through a checklist . Any changes to a domain controller can disrupt services and impact business operations. See my checklist below.

For this demonstration, I have the following settings.

I’m going to change the IP on DC2 to 192.168.100.15. If you are changing to a different subnet there are additional things to consider that I go over in the checklist.

Pre-Change Checklist

I recommend reviewing each item on this checklist before making changes. I’ve migrated many domain controllers from small to large networks and these steps have been a lifesaver. If you do this often you will probably come up with your own checklist.

Do You Have Multiple Domain Controllers?

It is best practice to have multiple domain controllers and backup Active Directory for disaster recovery reasons. I do not recommend making major changes to domain controllers if you have a single domain controller. If you have multiple DCs and the change breaks the server you can still operate from a secondary DC.

You can get a list of all domain controllers in your domain with this command:

Check FSMO Roles

Does the DC hold any FSMO roles? Easily check with this command:

Below you can see all my FSMO roles are on DC1.

changing ip address of domain controller

To help avoid disruption to authentication services you could move the FSMO roles to another domain controller that is on the same site. Keep in mind you would need to move any services that are manually configured to the server.

I’m making changes to DC2 which has no FSMO roles running on it.

Check Installed Roles and Features

I recommend checking what services are running on the server, you don’t want to change the IP and then have something break because you didn’t know it was a DHCP server or a web server.

You can quickly check the installed roles and features with this command:

Below you can see my DC2 server has some critical services running on it including DHCP and DNS. I’ll need to consider this when changing IP addresses.

changing ip address of domain controller

Find Devices Pointing to the Domain Controller with Wireshark

Wireshark can help you identify what systems are pointing to your domain controller for various services like DNS, DHCP, and so on. This might be the most important pre-change step.

Useful Wireshark filters:

Here is an example:

changing ip address of domain controller

The packet capture shows that system 192.168.100.22 is using DC2 for DNS. I’ve done a large migration of domain controllers before and used Wireshark to help identify systems that are still pointing to old domain controllers. From experience, you will probably be surprised at how many systems are hardcoded to your DCS.

Check Domain Controller Health

You need to check that your domain controller is healthy before making the change. Any issues could result in replication issues, DNS issues, and so on. I’ve got a complete guide on how to use dcdiag its actually very easy to use. Just open the command prompt on your server and run the command.

Check The Health of DNS

By default, dcdiag does not test DNS. Use this command to run a complete test on DNS.

Make sure the server passes all tests and the name resolution SRV record is registered.

Run Best Practice Analyzer

The best practice analyzer can find configuration issues according to Microsoft best practices. The BPA tool is not always accurate so you need to double check its findings. Also, any errors or warnings do not mean your migration will fail. It can just help you find any major misconfigurations according to Microsoft best practices.

Here is a scan from my DC2.

changing ip address of domain controller

I’ve got a warning that the loopback address is not included on the ethernet adapter settings. The best practice is to point the preferred DNS server to another DNS server (not itself).

Here is an example of how it should be configured:

changing ip address of domain controller

My DC2 IP address is 192.168.100.11. You can see I set the preferred DNS to another domain controller (DC1) and the alternate is set to the loopback address. This is Microsoft’s best practice.

Again any warnings or errors the best practice analyzer finds doesn’t mean your migration will fail. But to help avoid any potential migration issues I recommend running this tool and reviewing the scan results. It might even fix some issues you weren’t aware of.

Are You Changing Subnets?

If you will be changing to a new subnet then consider the following:

Check Firewall Rules

Are there any firewall rules that will need to be updated? This could be your network firewall and windows based firewalls. I typically have rules on the network firewall that limit network access for critical servers like domain controllers. I would need to update the firewall rules to permit traffic to the new DC IP.

Plan & Schedule the IP Change

I recommend making this type of change during your maintenance window. No matter how much you prepare for changes there is always a potential for something going wrong. You need to have a maintenance window to allow time to resolve any issues. Don’t forget to communicate these changes with your team ahead of time.

How to Change the IP Address of a Domain Controller:

Here are the steps to changing the IP Address on a domain controller.

Video Tutorial

YouTube video

Done. Nice work!

Post Change Checklist:

In this post, I showed you how to change the IP address on a domain controller. I also showed you a checklist I go through before changing the IP address. Authentication, DNS, and DHCP services are critical so it’s very important to plan and review as much as you can before making changes to these critical services. Also, all organizations and networks are different so over time you may have a different checklist than mine.

Recommended Tool: Permissions Analyzer for Active Directory

This FREE tool lets you get instant visibility into user and group permissions and allows you to quickly check user or group permissions for files, network, and folder shares.

You can analyze user permissions based on an individual user or group membership.

This is a Free tool, download your copy here .

changing ip address of domain controller

2 thoughts on “Change IP Address on Domain Controller”

hi Robert, thank you for sharing. for important and key steps here.

Leave a Comment Cancel reply

Notify me via e-mail if anyone answers my comment.

How to change IP Address of Domain Controller

How to change IP Address of Domain Controller

How to change the IP Address of Domain Controller

1] pre-change checklist, 2] change the ip address of a domain controller, 3] register the domain controller’s new ip address, 4] post-change checklist, how do i change my domain ip address to windows 10, does domain controller need static ip, should dhcp be on domain controller.

Read : Fix Unable to contact your DHCP Server error on Windows.

changing ip address of domain controller

[email protected]

10 ready-to-implement PowerShell scripts to make AD management easy!

Windows Active Directory

How to change the IP address of a domain controller

The domain controller (DC) is an integral part of your IT infrastructure. Due to its role within the domain, it’s crucial that any change to its IP is done correctly.

The DC’s address is statically assigned to the server. However, you might be required to change the DC’s IP address at times—when there’s a change of the IP addressing scheme on the local subnet, for instance.Any changes to the DC can disrupt services and affect your operations, so there are a few things you need to ensure before changing the IP address. Here’s a checklist to make it easier.

Pre-change checklist

Have m ultiple domain controllers.

It is recommended to have multiple domain controllers and a backup of Active Directory. This is so that if something happens to the primary DC, you can still operate from the secondary DC. Major changes are not recommended if you have a single DC. You can check for other DCs in your domain with this command:

Get-ADDomainController -filter * | select hostname, domain, forest

Check FSMO roles

Another thing to look out for is if the primary DC is running Flexible Single-Master Operation (FSMO) roles. To check this, run the following command:

netdom query fsmo

If the primary DC is running FSMO roles, you will have to move the FSMO roles to another DC that is on the same site to avoid any disruptions to authentication services. Any other services that are manually configured on the server will also have to be moved to the secondary DC.

Check the installed roles and features

It is recommended to check what services are running on your DC before changing its IP address. If the DC is running services like that of the DHCP server or web server, any changes to the IP address can cause a break. To avoid this, you can run the following command to check the established roles and features:

Get-WindowsFeature | Where-Object {$_. installstate -eq "installed"}

Ensure the health of the DC and DNS

It is best to ensure that your DC is healthy before making any IP changes to avoid encountering any replication issues or DNS issues. You can check the health of your DC using the following command:

By default, the dcdiag command doesn’t test the DNS, so you can run the following command to check on DNS health:

dcdiag /test:dns /v

Run Windows B est P ractices A nalyzer

To avoid the risk of any potential issues during migration, you can use the Best Practices Analyzer tool to find any misconfigurations according to Microsoft’s best practices. The tool may not always be accurate, so make sure to double-check the findings when reviewing the scan results.

Chang e   subnets

If the server also runs DHCP, and you’re going to be changing the subnet, you will need to update the helper address on your switch or firewall. You will also have to add the new subnet to Active Directory Sites and Services.

Update the f irewall rules

Before you change the IP address of a domain controller, you may need to update the rules of your network firewalls and Windows-based firewalls to permit traffic to the DC’s new IP address.

Schedule the IP change

This is a good practice to follow when you change the domain controller’s IP address. There is always the potential for something to go wrong when changing the IP, no matter how much you prepare. Scheduling the IP change gives you a maintenance window to resolve any issues that may occur.

  How to change the IP address of a domain controller  

Once you’re done with the pre-change checklist, you can go ahead and change the domain controller’s IP address. Here’s how:

  How to register the domain controller’s new IP address  

Once you’ve changed the IP address of the domain controller, you will need to register the new IP address. To do so, run the following commands in elevated Command Prompt or PowerShell one after the other:

Post-change checklist

After you’ve successfully changed the IP address of your domain controller, here are a few things you need to ensure:

  Final thoughts

If you’re looking to change domain controller IPs, there are a few things to ensure before you do so. Since the DC is an integral part of your IT infrastructure, it’s essential that this process is done correctly to avoid any breaks or other issues. Scheduling the IP change is also highly recommended because it will give you a maintenance window to sort out any other issues that could potentially arise.

Related posts

Active directory ldap field - attribute mappings   , how to seize fsmo roles, how to transfer fsmo roles, securing administrator accounts in active directory, free active directory tools.

Active Directory Management & Reporting

Self-Service Password Management

Real-time Active Directory Auditing

Exchange Server Auditing & Reporting

Active Directory Backup & Recovery Tool

People also read

Active directory account lockout policy, managing gpos in active directory, how to locate active directory objects, active directory object permissions: step-by-step guide to managing permissions using gpos, aduc, and powershell, active directory object classes and attributes: a complete overview, active directory sites, active directory users and computers (aduc) - an introduction and installation guide, how to raise active directory forest functional level, managing gpos with group policy management console, group policy backup.

changing ip address of domain controller

A one-stop place for all things Windows Active Directory.  Follow us for more content

Quick Links

Curated resources.

There are over 8,500 people who are getting towards perfection in Active Directory, IT Management & Cyber security through our insights from IAMRoundup.

Wanna be a part of our bimonthly curation of IAM knowledge?

Time-saving software and hardware expertise that helps 200M users yearly. Guiding you with how-to advice, news and tips to upgrade your tech life.

Let's keep in touch!

How to Change Domain Controller IP Address

Easy methods to change the ip address of a domain controller.

Sagar Naresh

Software to hide your IP address

Domain Controllers (DCs) are actively used for authenticating users and the devices connected to the domain.

Because of these works, they are best set up and left as is. This becomes important in terms of their hostname and network details.

Changing the IP of the domain controller may not be ever required but a time may come when you change it.

Moreover, domain controllers are assigned to a static IP address so they are reliable and discovered across the network without any issues.

While changing the IP address of the domain controller may cause certain issues for the administrator, because of its critical nature.

However, if the DC is not hosting any other roles, changing IP isn’t a big problem and can be done easily.

In this guide, we will show you exactly how you can change the IP of the domain controller safely and with no issues. Let us get right into it.

ExpressVPN Logo

Browse the web from multiple devices with increased security protocols.

Private Internet Access VPN Logo

Access content across the globe at the highest speed rate.

CyberGhost VPN Logo

Connect to thousands of servers for persistent seamless browsing.

How do I find the IP address of my domain controller?

change IP of domain controller cmd

change IP of domain controller press enter

Using the above steps, you would be able to find the IP address of your domain controller. The steps may look a bit too much but it is for those who know what they are doing.

How do I change the system name and IP address from the domain control network?

1. rename the system name, 1.1. using system properties.

1.2. Using Netdom

We have shown you two methods to change the system name, i.e. one using system properties and the other one using Netdom.

Do note that whichever method you choose, you have to update the FRS object and Update the DFS Replication member object.

2. Update the FRS member object

Battle.net Update Stuck at 0%: How to Easily Fix It? 

The specified disk is not convertible: 2 ways to fix, event id 7031: what is it & how to easily solve it, amdppm.sys: what causes this bsod & how to fix it, windows did not detect any networking hardware [error fix], 3. update the dfs replication member object.

4. Change the IP address of domain controller

1. Press the Windows key on your keyboard or click on the Start button on your taskbar to open the Search menu .

Expert tip:

Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken. We recommend installing Restoro, a tool that will scan your machine and identify what the fault is. Click here  to download and start repairing.

2. Type cmd in the search box and right-click on the first result, then select Run as Administrator .

cmd-run-admin 0x80070002 windows update

3. Write the below command and press Enter  to remove any cached DNS entries created by the local DNS server: ipconfig /flushdns

flush dns

4. Execute the below commands one by one and press Enter :

Net Stop DNS

Net Start DNS

Net Stop Logon

Net Start Logon

5. Now run the below command to ensure the new IP address is registered by the DNS server: ipconfig /registerdns

ipconfig command cmd

6. Finally, r un the below command to update the Service Principal Name (SPN) records:  dcdiag /fix

The Domain Controller’s IP can be easily changed via the built-in command tool known as Command Prompt or cmd. All you need to do is input a few commands in it, and the tool will do the job for you.

Is a domain controller the same as Active Directory?

We won’t give you complex terminologies as we want you to understand terms easily. An Active Directory is like a database. It stores information of users and computers as objects.

On the other hand, the domain controller is a service that runs Active Directory and uses the data stored by the AD for authentication and giving access to the user. Notably, a DC or domain controller manages the security policies of Windows NT or Windows Server.

So, the easiest way to remember the difference between Active Directory and DC is that Active Directory handles your identity and security access, on the flip side the Domain Controllers authenticate your authority.

That is it from us in this guide. We hope that we gave you the complete information on how you can change the IP of the domain controller. Let us know in the comments below if you come across any issues while following the above steps.

Still having issues? Fix them with this tool:

If the advices above haven't solved your issue, your PC may experience deeper Windows problems. We recommend downloading this PC Repair tool (rated Great on TrustPilot.com) to easily address them. After installation, simply click the Start Scan button and then press on Repair All.

Leave a Reply Cancel reply

Commenting as . Not you?

Save information for future comments

newsletter icon

More on this Topic

You can’t install windows on usb flash drive using setup [fix], how to record multiple screens in windows [easy ways], how to switch file explorer to winappsdk on windows 11, ink cartridge full but not printing here’s what to do.

IMAGES

  1. How to Change your IP address?

    changing ip address of domain controller

  2. Can I re-use IP address of a failed Domain Controller for a new Domain Controller

    changing ip address of domain controller

  3. Change Domain Controller IP address in Window Server 2012 R2 / 2016

    changing ip address of domain controller

  4. .net

    changing ip address of domain controller

  5. How do I change a domain controller’s IP address?

    changing ip address of domain controller

  6. Android Terminal Emulator Change Mac Address

    changing ip address of domain controller

VIDEO

  1. 🎄 Jingle Bells| Holiday Song for Kids 🎄| Super Sema Songs

  2. Dietary adjustments to keep up with rising grocery costs

  3. Scorpio ♏️ A message for the Chosen One’s, and why you have been given Divine Grace

  4. TOWN HALL changing TIME and COST from 2 to 11 || BDGaming #shorts #short #youtubeshorts

  5. 🔑 How to Create Space After Changing Direction

  6. LIFE CHANGING MOTIVATIONAl VIDEO #shorts #ytshorts #viralshorts

COMMENTS

  1. Change IP Address on Domain Controller

    Here are the steps to changing the IP Address on a domain controller. Log on locally to the server (console access, don’t RDP or use remote access). Change NIC TCP/IP settings Change IP Address Change subnet mask (if required) Change Default gateway (if required) Preferred DNS server (should point to another DC in the same site)

  2. How to change IP Address of Domain Controller

    Change the IP Address of a Domain Controller; Register the Domain Controller’s new IP Address; Post-change Checklist; Let’s see the description of the 4-step process involved in successfully ...

  3. Changing the IP Address of a Domain Controller

    Right-click the network icon in the bottom right of the Task Bar and select Open Network and Sharing Center from the menu. In the Network and Sharing Center, click Change adapter settings. On the...

  4. How to change the IP address of a domain controller

    Right-click the network icon in the bottom-right corner of the taskbar. Select Open Network and Sharing Center > Change adapter settings. Alternatively, you can press the Windows key + R , type ncpa.cpl into the box, and hit Enter.

  5. How to Change Domain Controller IP Address

    Change the IP address of domain controller 1. Press the Windows key on your keyboard or click on the Start button on your taskbar to open the Search menu. Expert tip: SPONSORED Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files.