Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 303
  • Last Modified:

DNS problem

Hi all,

I am having problem with one of my machine running windows 2000, what happens whenever I try to ping any computer it goes to the internet to search that computer rather than looking it on the LAN. The DNS I have entered for that computer is a local DNS and the same DNS settings are working properly on the other machines. Any help would be much appreciated.

Cheers!
Impex
0
Impex
Asked:
Impex
  • 2
  • 2
  • 2
  • +3
1 Solution
 
Mike KlineCommented:
Impex,

How do you know that it is not looking internally?   It should append your domain suffix when you ping.  Try to flush the dnscache  

ipconfig /flushdns

Since all the other PC's work fine then this does seem to point to this box.  Are there any events in the logs?

Thanks
Mike
0
 
kristinawCommented:
i don't understand what you mean when you say 'it tries to go to the internet to search'. generally a ping either replies or it doesn't.

can the machine ping itself?
can it ping the loopback (127.0.0.1)
can it ping it's default gateway?

when you ping other addresses, are you using the fqdn (fully qualified domain name), such as machine.domain.com, or are you just pinging by netbios name, machine.

are you sure the machine doesn't have any hosts or lmhosts files configured?

kris.
0
 
CaltorCommented:
Hi Impex,
What ip address is benig returned by PING & NSLOOKUP for the computer name? Try pinging the FQDN. Post your output of IPCONFIG /ALL here please.

Cheers!
0
[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

 
CaltorCommented:
Impex,
Also check you have the correct dns suffix.
It is set in
1. Properties for My Computer - Network Identification
2. Properties for each LAN connection.
0
 
ImpexAuthor Commented:
This computer can ping itself, loop back address, the dns and the gateway. I have flushed the DNS as well, but the problem is that this system is a part of a domain say xyz.com that exists on the internet as well and the ping reply is coming from the real IP address of the external domain. If I ping to the NetBIOS name, FQDN even if I put any fake hostname like ping nothing still it comes up with the reply from that IP.
0
 
kristinawCommented:
not sure about everyone else but it would help me if you could give some info about your setup. so you're saying the machine that's having issues is not on the same domain as the other machines?
0
 
Steve McCarthy, MCSE, MCSA, MCP x8, Network+, i-Net+, A+, CIWA, CCNA, FDLE FCIC, HIPAA Security OfficerIT Consultant, Network Engineer, Windows Network Administrator, VMware AdministratorCommented:
Make sure the DNS setting on that machine is pointing to the internal DNS server only.
0
 
mikeleebrlaCommented:
are you saying that xyz.com is the private DNS name of the machine you are trying to ping but xyz.com is also a "real" public DNS name so when you attempt to ping host.xyz.com it is pinging the public IP and you want it to ping the private IP??
0
 
Steve McCarthy, MCSE, MCSA, MCP x8, Network+, i-Net+, A+, CIWA, CCNA, FDLE FCIC, HIPAA Security OfficerIT Consultant, Network Engineer, Windows Network Administrator, VMware AdministratorCommented:
If you are saying what mikel is suggesting, put an Alias in your internal DNS server to resolve.
0
 
ImpexAuthor Commented:
Hi,

I just solved the problem. What I did is that I removed the domain name xyz.com from the DNS suffix in the properties of my computer and then I entered only xyz in the domain and rejoined the computer in the xyz domain. After restarting every thing is working now.

Thanx for you help
Muzzammil  
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
  • 2
  • +3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now