Solved

Windows 2008 R2 nslookup does not resolve ../etc/hosts but ping does

Posted on 2013-01-08
4
1,173 Views
Last Modified: 2013-02-13
I have a strange problem my server has 2 network one for production the one connect to AD, DNS and other for backup, we use our standard name server-bck,  for the server-bck I put only  in the c:\windows\system32\drivers\etc\hosts file not in the DNS server

Strange thing if I ping server-bck it can resolve to the IP, but if  I do the nslookup server-bck, it won't resolve anything, but nslookup will resolve anything on our DNS server.

Anyone know the answer?

Thank you.
Iwan Tamimi
0
Comment
Question by:iwantam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
chris2506 earned 100 total points
ID: 38754558
Hi Iwan,

Local host files are just that - local - whereas the nslookup that you're performing looks for nameservers in yor network to resolve dns queries. Without a valid dns entry, server-bck will not resolve despite replying to the ping requests.


Thanks,

Chris
0
 

Assisted Solution

by:iwantam
iwantam earned 0 total points
ID: 38754572
Hey Chris thanks for the very quick response?

Does Windows nslookup work like UNIX nslookup that can be configured to see files an DNS server?

Regards,

Iwan Tamimi
0
 
LVL 3

Assisted Solution

by:chris2506
chris2506 earned 100 total points
ID: 38754591
Hi Iwan,

No problem. I don't have much experience with UNIX based systems, but I don't believe it's configurable in the same way. From a quick search it looks like UNIX systems use a file called resolv.conf, which can be edited and presumably therefore configured to see items outside of DNS.

Windows on the other hand isn't configurable in the same way, although it is possible to manually add DNS entries to your DNS server.


Hope this helps,

Chris
0
 

Author Closing Comment

by:iwantam
ID: 38883761
His point is right
0

Featured Post

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Server Reporting Services Service Start Timeout 4 65
OS Selection Menu 1 68
Set TTL for a single entry in Server 2016 DNS zone file 2 43
ZEPTO Ransomware - Removal 8 38
Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

749 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