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.

Keep in mind, this issue is exclusively for Windows platforms.

For a particular company, they have an internal and external domain. One is behind the firewall, and one is in front. I am sitting on the internal domain. I can ping a machine on the internal domain and a machine on the external domain.

On the internal domain, if I perform an nslookup on an internal domain's machine hostname or IP, it resolves the hostname. On the internal domain, if i perform an nslookup on an external domain's machine hostname only, it resolves the hostname; however, it does not resolve the hostname with the IP address.

From the internal domain, I RDP into a machine on the external domain, run nslookup from within this machine and I can resolve any internal or external machine's hostname, either by IP or hostname.

I'm not exactly sure what is going on. Obviously, something is being blocked. My question is what are my options around this? I wanted to run a script which returns hostnames for machines on both domains, but it seems I'll have to have the script live in both domains.

Thank you.

share|improve this question

1 Answer 1

Have you checked the Advanced TCP/IP settings on your client?

Open up properties for the interface, find TCP/IP on list, go to properties, and then check out the DNS tab - near the bottom should be a list of domains to append.

Make sure all domain names that you are searching for are in that list, if not, add them.

share|improve this answer
    
Thank you for your suggestion. When you say "server", do you mean the DNS servers or each and every server in its respective domain? The company's IT division manages the servers and would likely be resistant to adding DNS entries. I suppose if this is the only recourse, I'll have to go through IT. Otherwise, I'll have to run the script twice, one for each domain. –  user717236 Mar 25 '13 at 17:23
1  
Well, by server, I actually mean the client you are issuing the query from (so my bad - replace server with DNS client). –  Eirik Toft Mar 25 '13 at 18:16
    
Updated the answer as comment above. –  dunxd Nov 19 at 7:40

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.