Results 1 to 4 of 4

Thread: Can ping IP but not hostname

  1. #1
    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.

  2. #2
    Join Date
    Apr 2008
    Posts
    3,339

    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.

  3. #3
    Join Date
    May 2008
    Posts
    551

    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.

  4. #4
    Join Date
    May 2008
    Posts
    3,516

    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.

Similar Threads

  1. Unable to Ping Exchange Hostname in VPN
    By got2balls in forum Networking & Security
    Replies: 3
    Last Post: 09-03-2011, 08:09 PM
  2. Wireless cannot ping / ethernet can ping
    By Nereus in forum Networking & Security
    Replies: 6
    Last Post: 14-08-2010, 05:56 AM
  3. Replies: 1
    Last Post: 16-09-2009, 10:11 AM
  4. How to get the hostname using JavaScript
    By Ricky58 in forum Software Development
    Replies: 3
    Last Post: 15-05-2009, 09:47 AM
  5. I can ping with IPv6. I can not ping with IPv4.
    By Eric Gamess in forum Vista Help
    Replies: 2
    Last Post: 04-05-2008, 01:31 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,559,958.97024 seconds with 17 queries