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:
- Goto ‘Drivers’ folder inside the system32 folder. “C:\WINDOWS\system32\drivers“
- Open ‘etc’ folder “C:\WINDOWS\system32\drivers\etc“
- Open the ‘hosts’ file in wordpad
- At the end of this file you will find this “127.0.0.1 localhost“
- 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
- Now you can ping and test the connectivity.
When you do this you are just bypassing the DNS.
Popularity: 8% [?]

March 21st, 2010
Kathirvel KG
Posted in
Tags:

