Active Directory: Cannot Join Domain with Error: "The format of the specified network name is invalid" (dsforum2wiki)
When attempting to join a client machine to a domain, you may receive the following error message, The format of the specified network name is invalid. A leading cause for this error message is the DNS configuration on the client machine.
The first step you should perform is to ensure that the DNS configuration on your client is pointing to the correct DNS server. In many cases the DNS role is also hosted one of the domain controllers in your domain.
To do this perform the following steps (the directions below reflect a Windows 7 client machine):
1. Click Start, click Control Panel, click Network and Sharing, click Change adapter settings, and then double click your network adapter.
2. Click Properties and then click Internet Protocol Version 6 (TCP/IPv6) or Internet Protocol Version 4 (TCP/IPv4) (whichever applies to your environment).
3. Click Use the following DNS server addresses and under Preferred DNS server, enter the IP address of your DNS server.
You can also configure your domain environment to obtain a DNS server address automatically. For more information on how to do this see,
Configuring IP Addressing and Name Resolution .
Related references
This article was derived from the DS forum post, http://social.technet.microsoft.com/Forums/en-US/winserverDS/thread/7009c8d0-03f4-442a-b341-37c38d078419.