Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2013-01-08
4
Medium Priority
?
1,204 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 300 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 300 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Many people tend to confuse the function of a virus with the one of adware, this misunderstanding of the basic of what each software is and how it operates causes users and organizations to take the wrong security measures that would protect them ag…
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

636 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