Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have deployed a bunch of windows server VMs on a cloud hosting service. These machines are all joined to a domain controller on the same service, which also hosts DNS. All of the domain-joined machines have dynamic IP (along with the DC).

If I try to resolve any of the hostnames remotely, it fails. For example, I am in SQL Server Reporting Services and I need to connect to a remote server. I provide the hostname of the desired target server and this fails, but then if I provide the IP, this works. How can I pass the hostname and have this resolve to IP?

Is there anything I need to look for in the DNS server? It has records of the hostnames (in forward lookup I think), but reverse is empty. Isn't it the case that forward lookup resolves ip to hostname and reverse resolves hostname to ip? Also, I don't know what he subnet mask because this is not in my control, so the machines may not be in the same subnet - can this be a cause of the problem?

Where is the problem?

Thanks

share|improve this question
1  
Are your examples from inside or outside? Have you verified DNS settings on each machine? From a host not resolving correctly have you run nslookup to see what reply you do or do not get from your DNS server? And you have it backwards, forward lookups resolve hostnames to IP addresses. Your questions are all over the place and seem to lack some basic foundations of networking. Keep it simple. –  SpacemanSpiff Jan 29 '11 at 22:17
    
You're right, I do lack some basic foundations of networking. Even though I'm a developer, even I struggle with networking, bad I know. What do you mean by inside or outside? DNS settings have been verified, I will run nslookup. –  dotnetdev Jan 29 '11 at 22:39
    
When you create an Active Directory, it creates a new DNS namespace (zone if you will). Unless you ask THAT server, or a server it is replicating those zones to to resolve something you will not get an answer. Is is possible to replicate this zone to public DNS, but you need to figure out if you're doing so. –  SpacemanSpiff Jan 30 '11 at 3:08
add comment

1 Answer

I'd query the Nameserver directly with those host names with NSlookup to see what that gives you, if thats correct than check on the servers that that DNS server is the one that they need to ask for the IP.

Is there anything I need to look for in the DNS server? It has records of the hostnames (in forward lookup I think), but reverse is empty. Isn't it the case that forward lookup resolves ip to hostname and reverse resolves hostname to ip? Also, I don't know what he subnet mask because this is not in my control, so the machines may not be in the same subnet - can this be a cause of the problem?

Forward resolves hostname to IP Reverse does IP to name. I think thats your problem potentially.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.