To restore domain controllers, you can use backups created with Recovery Manager for Active Directory. For this reason, you should back up domain controllers in the forest on a regular basis using one of these applications.
It is a good practice to create a Computer Collection that includes all domain controllers in the forest and back up the Collection each time you make changes to the forest infrastructure. Besides, you can use the Computer Collection to ensure that Forest Recovery Agent is installed on each domain controller in the Collection.
For more information about using the Forest Recovery Agent and Computer Collections, see the User Guide supplied with this release of Recovery Manager for Active Directory.
Before starting a forest recovery operation, you should specify a method for selecting a preferred DNS server for each domain controller in your recovery project. You can choose one of the following DNS server selection methods:
Select a DNS server automatically
Let Recovery Manager for Active Directory automatically select a DNS server (used by default).
Do not change DNS settings
Recovery Manager for Active Directory retains client DNS settings during recovery or restores the DNS settings from a backup depending on the chosen recovery method.
Use the specified DNS server
Specify a DNS server manually - here you can specify one DNS address or a list of DNS servers separated by semicolons or using the Edit button.
For more information on how to specify a DNS server selection method, see Domain controller recovery settings and progress.
When you choose to select a DNS server automatically, Recovery Manager for Active Directory retrieves a list of DNS servers used by domain controllers. In live Active Directory, Recovery Manager for Active Directory connects directly to domain controllers to get DNS servers that are currently in use. For Bare Metal Recovery, DNS servers are retrieved from computer settings that are stored in the RMAD BMR backup. For every recovery method that uses clean OS, current DNS client settings are ignored. With the exception of the Restore Active Directory on Clean OS recovery method which installs the DNS server on the target machine.
For every domain controller, the list of automatic DNS servers is ordered. First come the IP addresses that are included in the DNS client settings on this domain controller. Then, the list includes preferred DNS addresses of other domain controllers in the same domain and their DNS client settings. Then, the same approach is used for domain controllers in the parent domain hierarchy, then in sibling domains, and finally, for direct child domains. Then, during recovery, Recovery Manager for Active Directory automatically selects a properly working DNS server from the received list and assigns that DNS server to the domain controller.
If a domain controller is a DNS server itself, then a loopback address is included in the DNS server list (see the note below). When you choose to select a DNS server automatically, Recovery Manager for Active Directory contacts the domain controllers in the forest to get a list of all DNS servers they use. Then, Recovery Manager for Active Directory automatically selects a properly working DNS server from the received list and assigns that DNS server to the domain controller.
By default, the number of DNS servers that can be selected automatically is limited to 3. You can change that number using the MaxAutomaticDnsCount property in advanced settings.
The automatic DNS selection method is recommended in the following cases:
Important |
It is not recommended to uninstall or reinstall Active Directory on the DNS servers that act as a primary source for an Active Directory-integrated DNS zone. Also, it is not recommended to remove such DNS servers from Active Directory during recovery . |
The Do not change DNS settings option lets you retain DNS settings during recovery so you do not need to reconfigure DNS settings for each domain controller within the forest after the recovery operation is completed.
When you specify a DNS server or list of DNS servers manually, Recovery Manager for Active Directory first tries to assign the specified DNS server(s) to the domain controller. If the specified DNS server does not function properly or is inaccessible, Recovery Manager for Active Directory automatically selects DNS servers (primary and alternate) that were set on this domain controller before the recovery. If this action is also unsuccessful, Recovery Manager for Active Directory selects DNS servers from a list of all DNS servers that are in use in the forest.
How does Recovery Manager for Active Directory determine that the DNS server is available for use?
Recovery Manager for Active Directory sets a DNS server on all the network adapters on the domain controller and checks if it is enough to register DC Locator resource records and A-type (host) records. If the test succeeds, then this DNS server is set as the preferred DNS server on all network adapters.
NOTE |
According to Microsoft recommendations, DNS servers should include their own IP addresses in the lists of DNS servers. The loopback address (127.0.0.1) should be configured only as a secondary or tertiary DNS server on a domain controller. If you specified the loopback address in the wrong sequence, the order will be corrected automatically when the list of DNS servers is configured on a domain controller. For more details, see https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/ff807362(v=ws.10). |
If you want to use the manual DNS server selection method, it is recommended to make sure you have one or more DNS servers properly configured for working with the domain controllers being recovered. All these DNS servers must support dynamic updates and have DNS zones configured for each domain in the forest you want to recover. Make sure you specify one of these DNS servers for each domain controller in your recovery project.
Active Directory is tightly coupled with the DNS service. Each domain controller registers and constantly updates several Resource Records (RRs) in the DNS service. Each different type of domain controllers registers a separate set of RRs. During the forest recovery process, these records are adjusted by the Forest Recovery Console.
When you configure a Forest Recovery project, keep in mind the DNS infrastructure. In case of AD-integrated DNS, ensure that at least one DNS server per zone is restored from backup. The best practice is to restore as many DNS servers as possible from backup. You need to consider the Preferred DNS server option on every DC in the forest recovery project, in accordance with your DNS recovery strategy. For details, see Assigning a preferred DNS server during recovery. This DNS client configuration of restored DCs will be used to determine DNS infrastructure during recovery. Based on this information, Forest Recovery Console detects either AD-integrated DNS is used or external DNS and which DCs are used as DNS servers.
In case of AD-integrated DNS, you may have DNS infrastructure with the configured delegation and forwarding settings between parent and child domains. The Forest Recovery Console ensures that delegation and forwarding settings are restored during the forest recovery.
If a domain is removed from the restored forest, its delegation settings are removed as well.
If an external DNS is used, any inter-domain DNS relations are out of the Forest Recovery Console scope and are not affected by the forest recovery process.
For DNS servers that have not been restored, its RRs associated with the DNS server are removed. This is performed during the Configure DNS server step. The following RRs are removed where Z is the forest FQDN, X is the domain default NC FQDN, Y is the site name.
Name | RR Type |
---|---|
ForestDnsZones.Z | A, AAAA |
_ldap._tcp.ForestDnsZones.Z | SRV |
_ldap._tcp.Y._sites.ForestDnsZones.Z | SRV |
_msdcs.Z | NS |
DomainDnsZones.X | A, AAAA |
_ldap._tcp.DomainDnsZones.X | SRV |
_ldap._tcp.Y._sites.DomainDnsZones.X | SRV |
X | NS |
Name | RR Type | DC Type |
---|---|---|
X | A, AAAA | RWDC |
_ldap._tcp.X | SRV | RWDC |
_ldap._tcp.dc._msdcs.X | SRV | RWDC |
_ldap._tcp.G.domains._msdcs.Z | SRV | RWDC |
_kerberos._tcp.X | SRV | RWDC |
_kerberos._udp.X | SRV | RWDC |
_kerberos._tcp.dc._msdcs.X | SRV | RWDC |
_kpasswd._tcp.X | SRV | RWDC |
_kpasswd._udp.X | SRV | RWDC |
_ldap._tcp.pdc._msdcs.X | SRV | PDC |
_ldap._tcp.Y._sites.X | SRV | RWDC, RODC |
_ldap._tcp.Y._sites.dc._msdcs.X | SRV | RWDC, RODC |
_kerberos._tcp.Y._sites.X | SRV | RWDC, RODC |
_kerberos._tcp.Y._sites.dc._msdcs.X | SRV | RWDC, RODC |
gc._msdcs.Z | A, AAAA | RWDC GC |
_ldap._tcp.gc._msdcs.Z | SRV | RWDC GC |
_gc._tcp.Z | SRV | RWDC GC |
_ldap._tcp.Yi._sites.gc._msdcs.Z | SRV | RWDC GC, RODC GC |
_gc._tcp.Yi._sites.Z | SRV | RWDC GC, RODC GC |
When the forest recovery project contains several DCs with IP addresses other than the addresses they originally had (so-called re-IPing technique), then its host RRs are adjusted according to its new IP addresses.
For a DC with the "Reinstall Active Directory" recovery method, if such DC was AD-integrated DNS server, it will remain the DNS server after the reinstall.
For a DC with the "Install Active Directory" recovery method, the DC will not be the DNS server after the recovery even the AD-integrated DNS is configured for the domain.
Before you choose one of the recovery approaches described in this section, it is strongly recommended that you read Microsoft’s best-practice paper, Active Directory Forest Recovery Guide.
This section covers the following:
Recovery approach 1: Restore as many domain controllers from backups as possible
Recovery approach 2: Restore one domain controller from backup in each domain
© ALL RIGHTS RESERVED. Términos de uso Privacidad Cookie Preference Center