Solved

Host file

Posted on 2014-10-15
3
241 Views
Last Modified: 2014-10-15
I read the following:

To bypass this type of blocking you can configure your computer to always use a predefined IP address when accessing yyy.com. In order to do that, you need to edit the so called hosts file. On Windows it's "C:\WINDOWS\System32\drivers\etc\hosts".

Does this mean:

That I can put I can make any site think I coming from a different IP address?

For example if I want to come in to experts-exchange from ip 12.23.34.21 (I made this up) I can edit the host file and experts exchange will record this as my ip address?
0
Comment
Question by:Starquest321
3 Comments
 
LVL 34

Accepted Solution

by:
Dan Craciun earned 250 total points
Comment Utility
Nope.

That simply bypasses the DNS queries from your computer.
Simply put, if you add this in your host file:
12.23.34.21 experts-exchange.com

then every time you try accessing E-E your browser will go to 12.23.34.21

HTH,
Dan
0
 
LVL 15

Assisted Solution

by:Haris Djulic
Haris Djulic earned 250 total points
Comment Utility
Host file is like a your private DNS i.e. you pc will firts look into the hosts file and then if the domain/compute name cannot yit will search your DNS for the records i.e. IP address.

This is the way that you can overcome the content filtering since usually it is done in the way that in the DNS server you resolve to wrong IP nad then the user gets the page cannot load instead of real content.

Let say that your official DNS is setup to resolve the youtube to 1.1.1.1 then when you request the youtube DNS will give you wrong adress and you will get page error.. But if you put correct IP address of youtube in your hosts file that your request for IP resolving will not go to DNS and you will be able to access the site...

Hope that now it is more clear :)
0
 
LVL 95

Expert Comment

by:Lee W, MVP
Comment Utility
That I can put I can make any site think I coming from a different IP address?
Put simply and another way:
No, it means that you can make your own computer think that any site is at whatever IP address you say it's at.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
Read about achieving the basic levels of HRIS security in the workplace.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now