Posts Tagged ‘DNS’

How to override the DNS locally ?

Problem:

I was wondering how to override the DNS locally. There is a server in my network having static IP and has a registered Domain name. My local network doesn’t allow me to connect to internet and the server is part of my network, so how do I connect to this server using the same domain name instead of LAN IP or system name.

Solution:

  1. Goto ‘Drivers’ folder inside the system32 folder. “C:\WINDOWS\system32\drivers
  2. Open ‘etc’ folder “C:\WINDOWS\system32\drivers\etc
  3. Open the ‘hosts’ file in wordpad
  4. At the end of this file you will find this  “127.0.0.1       localhost
  5. Now enter the LAN IP of the server and the domain name of the server separated by ‘TAB’ eg., 10.35.68.8          www.yourserver.com
  6. Now you can ping and test the connectivity.

When you do this you are just bypassing the DNS.

Popularity: 8% [?]

Designed by: Business Web Hosting | Thanks to Buy Icons, travel tips and Used Cars