MyCee Forums
August 28, 2008, 05:04:36 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: mycee.net is under construction.
 
   Home   Help Search Chat Calendar Gallery Chat Login Register  
Digg This!
Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: Fixing those nasty DNS problems in XP  (Read 684 times)
0 Members and 1 Guest are viewing this topic.
Re@PeR
Administrator
Hero Member
*********

Karma: 6
Offline Offline

Gender: Male
Posts: 1210


OS:
Windows XP
Browser:
Firefox 2.0.0.6


View Profile WWW
« on: August 15, 2007, 10:45:20 AM »

If you ever get the problem where you type in an address in Firefox or Internet explorer and then get the wrong site, here's how to fix it:

Go to "c:\windows\system32\drivers\etc\" and open the "hosts" file with notepad, then simply add the DNS records you need, eg:

Code:
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

127.0.0.1       localhost
65.214.57.194 a.idlestudios.com
68.178.151.6 www.mycee.net

So how do you get the IP addresses?
That's easy, fire up a console, type ping and the site's address:

Quote
C:\Documents and Settings\Re@PeR\Desktop>ping www.mycee.net

Pinging www.mycee.net [68.178.151.6] with 32 bytes of data:

I'm definitely building my own DNS records, the DNS records of my ISP is inaccurate lots of times making simple things as browsing the internet a hack job every time.
Logged

Re@PeR
Administrator
Hero Member
*********

Karma: 6
Offline Offline

Gender: Male
Posts: 1210


OS:
Windows XP
Browser:
Firefox 2.0.0.6


View Profile WWW
« Reply #1 on: August 18, 2007, 03:08:47 PM »

Here's another great tip to clear up the DNS mess in XP, fire up a console and type "ipconfig/flushdns"
This will instantly wipe your DNS cache!!

I still think my ISP's DNS cache is the problem in this case 
Logged

Re@PeR
Administrator
Hero Member
*********

Karma: 6
Offline Offline

Gender: Male
Posts: 1210


OS:
Windows XP
Browser:
Firefox 2.0.0.14


View Profile WWW
« Reply #2 on: May 25, 2008, 10:30:07 AM »

I've created a cool utility to find the IP address of a site you can't access when having DNS problems.

First add the following line to your host file:
Code:
68.178.151.6    lab.mycee.net

Then go to http://lab.mycee.net/ping/index.php
Type in the site that you can't access (eg, www.mycee.net, no http or slashes or anything else) and it'll return an IP address you can add to your hosts file which should give you access to the site.

Enjoy
Logged

MyCee Forums
   

 Logged
Pages: [1]   Go Up
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.215 seconds with 27 queries.

Google last visited this page August 19, 2008, 01:20:59 AM