error connecting to domain from virtual machine

i'm new in this.
i cannot connect my virtual machine to my domain ts.sensiblefinance.nl
When i connect to this domain i get the error:

The following error occurred when DNS was queried for the
service location (SRV) resource record used to locate a
domain controller for domain ts.sensiblefinance.nl:

The error was: "DNS name does not exist."
(error code 0x0000232B RCODE_NAME_ERROR)

The ipconfig /all from the virtual machine tells me this:

Windows IP-configuratie

   Hostnaam  . . . . . . . . . . . . : nlpawir1-vm
   Primair DNS-achtervoegsel . . . . :
   Knooppunttype . . . . . . . . . . : hybride
   IP-routering ingeschakeld . . . . : nee
   WINS-proxy ingeschakeld . . . . . : nee

Ethernet-adapter voor LAN-verbinding:

   Verbindingsspec. DNS-achtervoegsel:
   Beschrijving. . . . . . . . . . . : Netwerkadapter voor Microsoft Virtual Mac
hine-bus
   Fysiek adres. . . . . . . . . . . : 00-15-5D-01-78-02
   DHCP ingeschakeld . . . . . . . . : nee
   Autom. configuratie ingeschakeld  : ja
   IPv4-adres. . . . . . . . . . . . : 192.168.1.113(voorkeur)
   Subnetmasker. . . . . . . . . . . : 255.255.255.0
   Standaardgateway. . . . . . . . . : 192.168.1.1
   DNS-servers . . . . . . . . . . . : 192.168.1.120
   NetBIOS via TCPIP . . . . . . . . : ingeschakeld

Tunnel-adapter voor isatap.{1F4929CF-B1B6-4D6B-B331-BD19BFC10F59}:

   Mediumstatus. . . . . . . . . . . : medium ontkoppeld
   Verbindingsspec. DNS-achtervoegsel:
   Beschrijving. . . . . . . . . . . : Microsoft ISATAP Adapter
   Fysiek adres. . . . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP ingeschakeld . . . . . . . . : nee
   Autom. configuratie ingeschakeld  : ja

Tunnel-adapter voor LAN-verbinding* 3:

   Verbindingsspec. DNS-achtervoegsel:
   Beschrijving. . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Fysiek adres. . . . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP ingeschakeld . . . . . . . . : nee
   Autom. configuratie ingeschakeld  : ja
   IPv6-adres. . . . . . . . . . . . : 2001:0:5ef5:73bc:3c5e:153f:3f57:fe8e(voor
keur)
   Link-local IPv6-adres . . . . . . : fe80::3c5e:153f:3f57:fe8e%13(voorkeur)
   Standaardgateway. . . . . . . . . : ::
   NetBIOS via TCPIP . . . . . . . . : uitgeschakeld

eliza111197Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Darius GhassemCommented:
Can you ping your DC from the VM? What technology are you using to Virtualize the VM? Make sure you have connections setup correctly.
0
Darius GhassemCommented:
Just a guest here. Make sure in Hyper-v if you have your Virtual Network setup as External not internal.
0
eliza111197Author Commented:
Hi Dariusq.

Here is some more information of my server with ipconfig and the results of dcdiag /fix

Windows IP Configuration

   Host Name . . . . . . . . . . . . : server
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Network Bridge:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : MAC Bridge Miniport
   Physical Address. . . . . . . . . : A6-BA-DB-2D-DA-6E
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.1.120(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1
   DNS Servers . . . . . . . . . . . : 212.54.40.25
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{26AB38E3-F16E-4910-9E0C-0B7DE4136C6E}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 11:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes


Directory Server Diagnosis

Performing initial setup:
   Trying to find home server...
   Home Server = server
   * Identified AD Forest.
   Done gathering initial info.

Doing initial required tests

   Testing server: Default-First-Site-Name\SERVER
      Starting test: Connectivity
         The host
         657197b2-8c7c-4aa3-ae35-392a52c964c6._msdcs.ts.sensiblefinance.nl
         could not be resolved to an IP address. Check the DNS server, DHCP,
         server name, etc.
         Got error while checking LDAP and RPC connectivity. Please check your
         firewall settings.
         ......................... SERVER failed test Connectivity

Doing primary tests

   Testing server: Default-First-Site-Name\SERVER
      Skipping all tests, because server SERVER is not responding to directory
      service requests.


   Running partition tests on : ForestDnsZones
      Starting test: CheckSDRefDom
         ......................... ForestDnsZones passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... ForestDnsZones passed test
         CrossRefValidation

   Running partition tests on : DomainDnsZones
      Starting test: CheckSDRefDom
         ......................... DomainDnsZones passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... DomainDnsZones passed test
         CrossRefValidation

   Running partition tests on : Schema
      Starting test: CheckSDRefDom
         ......................... Schema passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... Schema passed test CrossRefValidation

   Running partition tests on : Configuration
      Starting test: CheckSDRefDom
         ......................... Configuration passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... Configuration passed test CrossRefValidation

   Running partition tests on : ts
      Starting test: CheckSDRefDom
         ......................... ts passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... ts passed test CrossRefValidation

   Running enterprise tests on : ts.sensiblefinance.nl
      Starting test: LocatorCheck
         ......................... ts.sensiblefinance.nl passed test
         LocatorCheck
      Starting test: Intersite
         ......................... ts.sensiblefinance.nl passed test Intersite


i can ping my server 2008 R2 (192.168.1.120) witch also has AD en DNS on it.
And the virtual network is external.
0
MSSPs - Are you paying too much?

WEBINAR: Managed security service providers often deploy & manage products from a variety of solution vendors. But is this really the best approach when it comes to saving time AND money? Join us on Aug. 15th to learn how you can improve your total cost of ownership today!

Darius GhassemCommented:
DNS Servers . . . . . . . . . . . : 212.54.40.25

The above DNS server is wrong. If  this is a DC it should point to itself for DNS or existing internal DNS server. If this is a member server then it need to point to internal DNS servers only as well. There should never be a external DNS server in the TCP\IP properties within a domain.

Run ipconfig /flushdns, ipconfig /registerdns, and dcdiag /fix.
0
eliza111197Author Commented:
i changed the dns server to 192.168.1.120
and run the 3 command you wrote.
But i get the same results from dcdiag /fix as displayed above
0
Darius GhassemCommented:
Is DNS installed on this server?
0
eliza111197Author Commented:
yes Windows 2008 R2, AD , DNS are installed on 1 fisical server.
0
Darius GhassemCommented:
When you look in the DNS console under Forward Lookup zones what zones do you have?
0
eliza111197Author Commented:
this is a cap of my dns entry
dns.jpg
0
Darius GhassemCommented:
Here is your problem. Your zones are delegated and not setup properly. Delete all Forward Lookup zones the recreate the domain.com zone.
0
eliza111197Author Commented:
how do i recreate the domain.com zone.
I don't know how to do that.
I already deleted all zones from the forward lookup zone.
0
Darius GhassemCommented:
Right-click Forward lookup zone then select new zone. Your name of the zone should be exactly what your domain name is.
0
eliza111197Author Commented:
i selected the new zone.
Then i can make a choise between primary, secondairy and stub zone
And a checkbox for store the zone in AD.
What do i have to do.
my domain name is ts.sensiblefinance.nl ??!!
0
eliza111197Author Commented:
points increase
0
Darius GhassemCommented:
Primary and check the checkbox to store in AD.

So, when you look in Active Directory your domain name is  ts.sensiblefinance.nl, right?

You would then type the name  ts.sensiblefinance.nl for your DNS zone. I would suggest on creating a  sensiblefinance.nl as well.
0
eliza111197Author Commented:
this is what i have now.
dns.jpg
0
Darius GhassemCommented:
Run ipconfig /registerdns and dcdiag /fix. Restart netlogon service. See if you get folders under your ts.sensiblefinance.nl zone.
0
eliza111197Author Commented:
when i run dcdiag /fix i get the same error as shown above.
And the are no more folder than shown in the last picture.
0
Darius GhassemCommented:
There is still something wrong with DNS then. You should have folders listed under the DNS Forward lookup zone for your domain. do you have other DNS servers online?
0
eliza111197Author Commented:
Hi Dariusq.

No this is the only DNS server. The other servers are from my provider.
I'm installing this 2008 R2 server for a small office. And they also have no other DNS servers.
0
Darius GhassemCommented:
Something is wrong with the configuration of DNS. Have you rebooted the server? What errors are you recieving in the DNS Event Viewer? Something is mis-spelled or something small is wrong. You should have folder listed under the domain.com zone. Why are you using ts. in front of your domain sensiblefinance.nl? You should always start with sensiblefinance.nl.
0
eliza111197Author Commented:
hi dariusq.

i'm now at my work. In 1,5 hours i will be at home and can write the errors if there are.
i'm using ts.sensiblefinance.nl because the guide i used told me so.
But if you think that it's better to change that in sensiblefinance.nl then i will do that tonight.
Could that be the problem of my problems ??
0
Darius GhassemCommented:
That could be some of the issues. You should always start out with a primary domain name like google.com then add sub domains ts.google.com.
0
eliza111197Author Commented:
OK. I will change that first in AD after that i will reinstall DNS and if there are still problems i will post them again here.
0
Darius GhassemCommented:
Sounds good let me know what the outcome is.
0
eliza111197Author Commented:
Well i have changed some things.
my domain is now sensiblefinance.local
I installed AD and it also installed DNS.
The installation of that did not go very well.
So i removed DNS en reinstalled it again.
Now DNS gives the following error.
The DNS server computer currently does not have a DNS domain name. its DNS name is a single-label host name with no domain.
You might have forgotten to configure a primary DNS domain for the server computer.

So new things new errors ;-)
0
Darius GhassemCommented:
Post a screenshot of DNS again.
0
eliza111197Author Commented:
I restarted the whole server and then this came on my screen.
When i do what the screen asks me to do i can only have the options: launch nslookup, refresh properties and help.
dns.jpg
0
eliza111197Author Commented:
after a few minutes i pressed f5 and things were changed.
This is the situation now
dns.jpg
0
Darius GhassemCommented:
Make sure the DNS service is started.

What happen when you had dcpromo create the zone?

I wondering if you have a corrupt install.
0
Darius GhassemCommented:
What it looks like is that it is still configuring your zone. For some reason MS thought it would be a good idea to automatically create a delegated msdcs folder as a zone which hasn't been good for most smaller domains.

Look at the link I posted above.
0
eliza111197Author Commented:
the forward lookup zones tells me that i have to add a new zone.
The domain name system allows a DNS namespace to be divided into zones. Each zone stores information about one or more contiguous DNS domains.
To add a new zone click new zone.

There is some progress.
When i want to make the virtual machine a member of the domain. and i type sensiblefinance as the domain it asks me for a username and password. That is something the virtual machine had never done.
0
Darius GhassemCommented:
That is a start at least.
0
eliza111197Author Commented:
when i look into the eventlog of hyper-v there are a few items from the same time that i want to connect from the virtual machine to my domain.

Failed to register service principal name.
Source: Hyper-v-vmms
eventid: 14050
0
eliza111197Author Commented:
and this error i found in the dns events:
The DNS server encountered error 32 attempting to load zone sensiblefinance.local from Active Directory. The DNS server will attempt to load this zone again on the next timeout cycle.

The time this error was created i cannot link with some other activitie
0
eliza111197Author Commented:
I have changed some things accoording to the text in de links above.
Now i get this error.

Your computer cannot connect to the remote computer because the remote desktop gateway server address is unreachable or incorrect. Type a valid Remote desktop gateway address.

I can login to the RDweb website. But when i typed the computer name and then a username and password to connect to the gateway and remote computer i get the screen initiating remote connection and then i get the error above.
0
Darius GhassemCommented:
But is the DNS part fixed?
0
eliza111197Author Commented:
Jep DNS is fixed. Everything is looking OK now to me.
0
Darius GhassemCommented:
So, the RDWebsite is a different issue? If it is then close this one out and open another one please.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.