I am working on the new beta of Microsoft Application Virtualization. I downloaded the 4.5 latest beta. I decided to build myself a new environment in Hyper-V and decided to build a DC server 2003 R2 SP2 and a Vista Business client. to separate several versions, i decided in all my wizdom to name the domain Appvirt.45 and most of you will see the error coming, others will be as ignorant of this as I was.
I tried to add my Vista to the domain, and I was very surprised I could not join: the error I got was the following:
An error occurred when DNS was queried for the service location (SRV) resource record used to locate an Active Directory Domain Controller of the domain domain name.
The error was: "The filename, directory name, or volume label syntax is incorrect."
(error code 0x0000007B ERROR_INVALID_NAME)
The query was for the SRV record for _ldap._tcp.dc._msdcs.AppVirt.45
so I copied the query _ldap._tcp.dc._msdcs.AppVirt.45 to a nslookup and it came back with the right machine and IP-address. Weird, So I reverted to my friends at google and queried for the error code and this came out: http://support.microsoft.com/kb/947228
It turns out that numeric only domain name suffixes are not allowed by default. there is a solution to it that is given in the KB, it is:
- Locate and then click the following registry subkey: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesDnscacheParameters
- On the Edit menu, point to New, and then click DWORD Value.
- Type ScreenBadTlds, and then press ENTER.
- Right-click ScreenBadTlds, and then click Modify.
- In the Value data box, type 0, and then click OK.
So I have to think about this next time I create a domain like this…
WHY oh WHY…
It’s not only vista, server 2003 R2 SP2 has the same “feature”.