When I try to join my new server to my existing domain I get the following error:
"An attempt to resolve the DNS name of a DC in the domain being joined has failed. Please verify this client is configured to reach a DNS server that can resove DNS names in the target domain."
I have tried all of the following already:
Successfully pinged the domain controller. Ping the new server from the domain controller by IP address and by DNS name. Ping the DC server from the new server by IP address and by DNS name. Changed the network to DHCP (it was originally static). No joy as static or DHCP. Turned off all firewall settings. Added the domain name to 'hosts' file. Added the server name of the primary domain controller to the 'hosts' file in the new server.
Any ideas? Thanks in advance for any help! Jim
Update: With help from J. Brian Kelly (Thanks) I have managed to narrow down the problem to a DNS issue. Specifically, UDP/53 packets are being sent (they are seen in Network Monitor), but are not getting to the DNS server. But, I do not yet know why.
Update: The quested output from IPCONFIG for the HyperV host and the virtual machine.
IPCONFIG from HyperV Server
Windows IP Configuration
Host Name . . . . . . . . . . . . : HYPER
Primary Dns Suffix . . . . . . . : sfi-wfc.com
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : sfi-wfc.com
Ethernet adapter Local Area Connection 4:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Primary Network
Physical Address. . . . . . . . . : 00-30-48-CA-CC-7A
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::cd16:3ac2:3d4f:e275%679(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.100.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.100.10
DHCPv6 IAID . . . . . . . . . . . : -1476382648
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-12-10-20-E9-00-30-48-CA-CC-7A
DNS Servers . . . . . . . . . . . : 192.168.100.5
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Local Area Connection 3:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : sfi
Description . . . . . . . . . . . : Intel(R) 82576 Gigabit Dual Port Network Connection #2
Physical Address. . . . . . . . . : 00-30-48-CA-CC-7B
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPCONFIG from Virtual Machine
Windows IP Configuration
Host Name . . . . . . . . . . . . : DB
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : sfi
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . : sfi
Description . . . . . . . . . . . : Microsoft Virtual Machine Bus Network Adapter
Physical Address. . . . . . . . . : 00-15-5D-66-03-02
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.100.128(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Saturday, August 29, 2009 10:44:45 AM
Lease Expires . . . . . . . . . . : Tuesday, September 01, 2009 3:08:33 PM
Default Gateway . . . . . . . . . : 192.168.100.10
DHCP Server . . . . . . . . . . . : 192.168.100.5
DNS Servers . . . . . . . . . . . : 192.168.102.5
Primary WINS Server . . . . . . . : 192.168.100.5
NetBIOS over Tcpip. . . . . . . . : Enabled
Tunnel adapter Local Area Connection* 8:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : sfi
Description . . . . . . . . . . . : isatap.sfi
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 9:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 02-00-54-55-4E-01
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
On Virtual Machine:
Change the network to static and type in these settings:
IPv4 - 192.168.100.128
Subnet Mask - 255.255.255.0
Default Gateway - 192.168.100.10
Preferred DNS Server - 192.168.100.5
In system properties, you must field the Primary DNS suffix of this computer with your domain name sfi-wfc.com and than tick the box Change primary DNS suffix when domain membership changes.
Restart Virtual Machine.
Use Fully Qualified Domain Name (sfi-wfc.com) instead of NetBIOS name when joining a domain.
Can you ping the domain name itself? For instance, if your DC is MyDC.MyDomain.net, can you ping MyDomain.net? Do you see any errors in the DC's or server's system event log corresponding to when you attempt to join the server to the domain?
Make sure that the new machine's virtual switch is properly set up. If the firewall is off on all machines, (and it should be by this time) then the only thing left in the way (so to speak) is the vswitch. the physical nic should have only the hyper v switch protocol enabled and the virtual port should not.
I had a similar issue. To resolve I had to change Virtual Network connection of the Hyper-V to use a Legacy Network Adapter.