Solved

Can access a machine by IP only not by DNS name

Posted on 2008-06-20
5
1,483 Views
Last Modified: 2009-06-14
I have one machine that can access a network share by the IP only but not by the DNS name.  So for example if I type in \\10.1.2.5 everything works great.  But if I type in \\COMPUTERNAME it will give me an error and won't find the share.  Now this sounds like a DNS problem so I typed in ping COMPUTERNAME in the command prompt and it works fine.  

I need to be able to access the computer by DNS name because I have a program that will only work if it can access it that way. PLEASE HELP!

ADDITIONAL NOTE:
There used to be some extra configurations in the HOST file that mapped COMPUTERNAME to the wrong IP address but I have since changed that and restarted the computer multiple times.  Even if I map the COMPUTERNAME to the correct IP address it still won't work.  

Also, there is a program that is installed on this computer called IELock that I can't uninstall.  I am not sure if it is causing any problems or not, it could by spyware.  

Lastly, this is the only computer that is giving me problems.  I probably have 30 other computers that can access this share fine.  
0
Comment
Question by:sevenpeaks
[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
5 Comments
 
LVL 7

Accepted Solution

by:
YourReference earned 500 total points
ID: 21835694
Try the following

Click Start, then RUN

type CMD, and then click OK

Type IPCONFIG /FLUSHDNS, then press enter
Type nbtstat -R, then press enter
0
 
LVL 2

Expert Comment

by:ankap
ID: 21835697
Please clarify:
1. Does you network use domain or workgroup?
2. Can you see that computer in the entire network under domain or workgroup?
0
 
LVL 3

Expert Comment

by:torquedtech
ID: 21835705
Hi sevenpeaks,
yes you are correct first place to check is DNS,
However it sounds like it is netbios / WINS problem.
First I would see if you can access it via the FQDN (is it in a domain?)
then check to make sure WINS and netbios are correct in the TCP/IP settings

Good luck and let me know what you find
~Dan
0
 

Author Comment

by:sevenpeaks
ID: 21835727
Wow, thanks for all the comments are such short notice. I did an ipconfig/flushdns and it seemed to have fixed the problem.  Becuase I can now acccess the share just fine.  
Thanks for all of your help.  

By the way the nbtstat command game me an error about not having a the correct drivers or something of that sort, but atleast the ipconfig/flushdns solved the problem.
Thanks,
0
 
LVL 7

Expert Comment

by:YourReference
ID: 21835740
The nbtstat command would have gave you an error if you do not have NetBIOS over TCPIP network driver installed.  I am glad you have it working.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
OSPF - Convergence & Downtime 9 101
igmp snooping in layer 2 switch 4 34
Switch port problems 15 57
Cisco 2960 / 3560 Reset password - Using the Mode button on switch 2 64
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

734 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