Go Back   TechArena Community > Technology > Networking & Security
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Can ping IP but not hostname

Networking & Security


Reply
 
Thread Tools Search this Thread
  #1  
Old 29-07-2009
Member
 
Join Date: Jul 2009
Posts: 124
Can ping IP but not hostname
  

I am suffering from some strange issues with my Internet connections. Since yesterday, my internet is going worst and worst and I am unable to rectify the actual cause of the issue. Can any body help me? I have tried ping option from my command prompt but the another problem arise and I don't know how to fix this. Whenever I try to ping google, what I have noticed that I can ping the IP address of www. google.com but not the hostname itself? Please help me to get rid of this situation.

Reply With Quote
  #2  
Old 29-07-2009
Member
 
Join Date: Apr 2008
Posts: 3,343
Re: Can ping IP but not hostname

Have you tried repairing your connection? This solves problems most of the time. Go to Network Connections, right click on your connection icon and select Repair. Or else you can even try flushing the DNS cache from the command prompt. Go to Command prompt (Start - Run - type "cmd"). Now type "ipconfig /flushdns" and press Enter. Then type "ipconfig /registerdns". This re-registers your DNS.
Reply With Quote
  #3  
Old 29-07-2009
Member
 
Join Date: May 2008
Posts: 547
Re: Can ping IP but not hostname

I think this is related to your DNS configuration. You should check if you have correctly entered the DNS. Go to Command Prompt and type nslookup. Here give any hostname such as "google.com". If this gives you the IP addresses of google then your DNS configuration is correct. But if not then you need to recheck the configuration from your ISP.
Reply With Quote
  #4  
Old 29-07-2009
Member
 
Join Date: May 2008
Posts: 3,523
Re: Can ping IP but not hostname

Have you looked at the DNS settings in your router? This is definitely DNS issue. To solve this problem, try disabling the DNS cache by going to the command prompt and typing "net stop dnscache". Now restart this service after some time using "net start dnscache" command.
Reply With Quote
Reply

  TechArena Community > Technology > Networking & Security
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Can ping IP but not hostname"
Thread Thread Starter Forum Replies Last Post
Unable to Ping Exchange Hostname in VPN got2balls Networking & Security 3 09-03-2011 07:09 PM
Wireless cannot ping / ethernet can ping Nereus Networking & Security 6 14-08-2010 05:56 AM
I have got two domain, I can't ping FQDN, Domain name but not the hostname of the other domain kaikoa Networking & Security 1 16-09-2009 10:11 AM
How to get the hostname using JavaScript Ricky58 Software Development 3 15-05-2009 09:47 AM
I can ping with IPv6. I can not ping with IPv4. Eric Gamess Vista Help 2 04-05-2008 01:31 AM


All times are GMT +5.5. The time now is 12:25 AM.