Can’t join host Hyper-V to guest virtual machine’s domain controller

hyper-v-server-2012-r2windows-server-2012-r2

Below, is the text of a question from superuser that was never responded to. I can't find any information on this issue and have exactly the same problem.

I created Domain Controller role running inside a guest operating
system on a Hyper-V host server. Tried to add that same Hyper-V host
server to the domain of the guest virtual machine that Hyper-V hosts,
but I get the following message:

The following error occured attempting to join the domain "mydomain":
The specified domain either does not exist or could not be contacted.

It does ask me for username and password if I try to join "mydomain",
but joining "mydomain.local" gives an immediate error that says
there's no such domain, basically.

The reason I want to join the domain from the host is so that backups peformed from the host can be stored on a domain network share managed by file and storage services.

This question was asked a year ago on superuser, 600+ views, no responses at all. I can't comment there and I don't have an answer so I have decided to post here.

I am not sure how to comply with superuser and serverfault practices here, but hopefully this 'repost' is ok. I hope someone can help with this issue.

Best Answer

Assuming you installed the DNS Server role on the DC and aren't using some other DNS server for your AD DNS zone, is the Hyper-V host using the Domain Controller for DNS? If not then that's probably your problem.