It’s DNS. It’s always DNS. No, DNS is fine, it’s not DNS, trust me.
\nIt was DNS. <\/p>\n
I’m posting because in the last few weeks we’ve had a few posts that turned out to be misconfigurations with DNS in a domain environment. Things like Domain controllers pointing at themself first for DNS, or having a public DNS server on the NIC of the Domain Controller or the clients. Hopefully this will help some people get out in front of potential issues.<\/p>\n
The general rules for DNS in an AD Environment.<\/p>\n
When you have more than 1 Domain controller (DC)<\/p>\n
The NIC on the DC should point to another DC first, and itself (127.0.0.1) last. For many people it points to itself as secondary, but it may also be tertiary or quarternary. It just should not be primary.<\/p>\n
In a multi site deployment, it’s common to see
\nPrimary: Another DC in the same site
\nSecondary: Another DC in a different site
\nTertiary: 127.0.0.1<\/p>\n
There should never be a public DNS server such as 8.8.8.8, 4.2.2.2, etc. on the NIC of the DC. The only place public DNS gets defined is on the forwarders tab of the DNS server properties in the DNS management console.<\/p>\n
Domain clients should only point to Domain Controllers for their DNS. The same warning applies here as well. A public DNS server such as 8.8.8.8 should not be used on domain joined system.<\/p>\n
What happens if you have DNS on the NIC of a DC pointing to itself first and another DC second? That DC will eventually hiccup and stop replicating.<\/p>\n
What happens if you have a public DNS on the NIC of your DC? Replication will break. If your DC tries to query 8.8.8.8 (or other public DNS) to locate your other DC, 8.8.8.8 has no idea what it is talking about. The DNS lookup will fail and the DC will not be able to replicate.<\/p>\n
What happens if you have public DNS on the NIC of your domain member computer/server? That machine also runs the risk of asking public DNS how to find your DC and a public DNS server is not going to have an answer. End result? Login failures. This occurs even if you list your DC as primary and a public DNS as secondary. I see this far too often: “I want a backup just in case my DCs are down”. No, you don’t. You will have problems all of the time. If you are concerned about your DCs being down, then you don’t have enough DCs. Address the problem that way.<\/p>\n
If you’re having authentication issues or replication issues, take a look at your DNS settings first because that’s a very likely candidate. You might save yourself a lot of troubleshooting time.<\/p>","step":[]}