[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

error connecting to domain from virtual machine

Posted on 2010-04-05
41
Medium Priority
?
759 Views
Last Modified: 2012-06-22
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

0
Comment
Question by:eliza111197
  • 21
  • 20
41 Comments
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 29821254
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
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 29821314
Just a guest here. Make sure in Hyper-v if you have your Virtual Network setup as External not internal.
0
 

Author Comment

by:eliza111197
ID: 29822339
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
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 29822836
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
 

Author Comment

by:eliza111197
ID: 29823622
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
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 29823784
Is DNS installed on this server?
0
 

Author Comment

by:eliza111197
ID: 29823918
yes Windows 2008 R2, AD , DNS are installed on 1 fisical server.
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 29824094
When you look in the DNS console under Forward Lookup zones what zones do you have?
0
 

Author Comment

by:eliza111197
ID: 29824573
this is a cap of my dns entry
dns.jpg
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 29824818
Here is your problem. Your zones are delegated and not setup properly. Delete all Forward Lookup zones the recreate the domain.com zone.
0
 

Author Comment

by:eliza111197
ID: 29825021
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
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 29825666
Right-click Forward lookup zone then select new zone. Your name of the zone should be exactly what your domain name is.
0
 

Author Comment

by:eliza111197
ID: 29826142
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
 

Author Comment

by:eliza111197
ID: 29828973
points increase
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 29829072
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
 

Author Comment

by:eliza111197
ID: 29829848
this is what i have now.
dns.jpg
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 29830208
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 29830447
Run ipconfig /registerdns and dcdiag /fix. Restart netlogon service. See if you get folders under your ts.sensiblefinance.nl zone.
0
 

Author Comment

by:eliza111197
ID: 29873739
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
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 29906676
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
 

Author Comment

by:eliza111197
ID: 29908428
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
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 29909099
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
 

Author Comment

by:eliza111197
ID: 29909867
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
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 29910821
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
 

Author Comment

by:eliza111197
ID: 29911030
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
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 29924784
Sounds good let me know what the outcome is.
0
 

Author Comment

by:eliza111197
ID: 29928334
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
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 29928722
Post a screenshot of DNS again.
0
 

Author Comment

by:eliza111197
ID: 29929308
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
 

Author Comment

by:eliza111197
ID: 29929803
after a few minutes i pressed f5 and things were changed.
This is the situation now
dns.jpg
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 29929872
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
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 29930055
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
 

Author Comment

by:eliza111197
ID: 29936635
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
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 29937904
That is a start at least.
0
 

Author Comment

by:eliza111197
ID: 29938572
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
 

Author Comment

by:eliza111197
ID: 29939739
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
 

Author Comment

by:eliza111197
ID: 31169026
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
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 31189230
But is the DNS part fixed?
0
 

Author Comment

by:eliza111197
ID: 31189631
Jep DNS is fixed. Everything is looking OK now to me.
0
 
LVL 59

Accepted Solution

by:
Darius Ghassem earned 2000 total points
ID: 31189941
So, the RDWebsite is a different issue? If it is then close this one out and open another one please.
0

Featured Post

Will You Be GDPR Compliant by 5/28/2018?

GDPR? That's a regulation for the European Union. But, if you collect data from customers or employees within the EU, then you need to know about GDPR and make sure your organization is compliant by May 2018. Check out our preparation checklist to make sure you're on track today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A procedure for exporting installed hotfix details of remote computers using powershell
I’m willing to make a bet that your organization stores sensitive data in your Windows File Servers; files and folders that you really don’t want making it into the wrong hands.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

611 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question