This question already has an answer here:
I just setup a domain called foo.local. It is running on an internal network that is being NATed out. The domain controller is running with a static IP address.
How do I get a windows 7 computer to join the domain?
Normally to join a domain you click Computer->Properties-> Change... -> Member of -> Domain
Then I input foo.local.
The problem is that the computer is trying to connect to the domain controller by a DNS name, and I don't have a DNS server running on the local network.
Is there a way I can tell Windows 7 to look at a static IP address to join the domain?