>
Ceci est a [Canonical Question](http://meta.serverfault.com/q/1986) about Active Directory DNS Settings.
Related:
- [What is Active Directory Domain Services and how does it work?](https://serverfault.com/questions/402580/what-is-active-directory-and-how-does-it-work)
Assuming an environment avec multiple domain controllers (assume that they tous run DNS as well):
- in what order should le DNS servers be listed in le network adapters for chaque domain controller?
- Should 127.0.0.1 be used as le primary DNS server for chaque domain controller?
- Does it make tout difference, si so what versions are affected et how?
Quel devrait être l'ordre des serveurs DNS pour un contrôleur de domaine AD et pourquoi ?
Re: Quel devrait être l'ordre des serveurs DNS pour un contrôleur de domaine AD et pourquoi ?
According to [this link](http://technet.microsoft.com/en-us/library/ff807362(v=ws.10).aspx) et le Windows Server 2008 R2 Best Practices Analyzer, le loopback address should be in le list, mais **never** as le primary DNS server. In certain situations like a topology change, this could break replication et cause a server to be "on an island" as far as replication is concerned.
Say that you have two servers: DC01 (10.1.1.1) et DC02 (10.1.1.2) that are les deux domain controllers in le même domain et les deux hold copies of le ADI zones for that domain. They should be configured as follows:
```
DC01
Primary DNS 10.1.1.2
Secondary DNS 127.0.0.1
DC02
Primary DNS 10.1.1.1
Secondary DNS 127.0.0.1
```
Say that you have two servers: DC01 (10.1.1.1) et DC02 (10.1.1.2) that are les deux domain controllers in le même domain et les deux hold copies of le ADI zones for that domain. They should be configured as follows:
```
DC01
Primary DNS 10.1.1.2
Secondary DNS 127.0.0.1
DC02
Primary DNS 10.1.1.1
Secondary DNS 127.0.0.1
```