Sometimes it’s unavoidable to run an Active Directory domain controller (DC) on hardware that is configured with two network cards (NICS). While not a recommended configuration, it is possible to run a domain controller with two IP addresses. In this Ask an Admin, I’ll show you how to configure the NICs and DNS so that AD runs smoothly. This lab assumes you have one DC in your AD domain running DNS, configured with two NICs, each with one IPv4 address.
Even if you have two NICS, and two IP addresses on your DC, only one of those IP addresses should be registered in DNS. In this example, my DC is assigned 192.168.0.117/24 on the first network adapter, and the second 172.16.0.6/24. I want AD to use 172.16.0.6/24 on the second adapter, so the first task is to stop the other address being automatically registered in DNS.
🎬 Watch This Week in IT.
One option is to leave the DNS server properties for the adapter empty. Alternatively, if that’s not an option, following these instructions.
Now that I have stopped the unwanted address from registering itself with DNS, I’ll configure the DNS server running on the DC to listen exclusively on the 172.16.0.6 address.
Now that we have only one IP address registered in DNS, old records deleted, and the DNS server listening on one IP address, let’s tidy up the DNS settings on the DC with some ipconfig commands.
Don’t forget that you will likely need to reboot clients and member servers to make sure that they use the updated DNS configuration and don’t resolve to the wrong address.
When you configure DNS on a domain controller with two IP addresses in an environment with multiple DNS servers, you’ll need to ensure proper DNS replication, configure forwarders appropriately, and set up conditional forwarding between the servers. This helps maintain consistency across your DNS infrastructure and prevents resolution conflicts.
Implementing DNSSEC, setting up proper DNS filtering, and configuring access control lists (ACLs) are crucial security measures when you configure DNS on a domain controller with two IP addresses. Additionally, ensure that DNS zone transfers are restricted to authorized servers only.
Yes, you can configure DNS on a domain controller with two IP addresses in a hybrid setup by implementing split-brain DNS, setting up proper DNS conditional forwarders, and ensuring correct subnet configurations between on-premises and cloud environments.
Regular DNS zone backups, maintaining secondary DNS servers, and implementing DNS event logging are essential backup strategies when you configure DNS on a domain controller with two IP addresses. This ensures business continuity and quick recovery in case of failures.
When implementing IPv6 while you configure DNS on a domain controller with two IP addresses, you’ll need to set up AAAA records, ensure proper dual-stack configuration, and verify that both IPv4 and IPv6 DNS resolution works correctly across your network infrastructure.