
Have you heard the term DNS (Domain Name System)? It refers to a system of files distributed around the Internet that help resolve domain names like facebook.com into its actual Internet Protocol (IP) address which happens to be 31.13.75.35 . That helps your computer know what server to talk to when you want to view this site.
Before DNS came into being in 1984, this was done through a local file on your computer called the hosts file. Back then computers weren’t connected to many other computers. At most, we may have connected to a few dozen. It was easy to keep all that information in a plain old text file. The host file lives on today.
Before we go further it’s important to understand that some IP addresses are reserved for local use. That means that they can only be used to point to your computer and devices within your immediate network. That means anything before your communication connects to the Internet.
For example, the IP address 127.0.0.1 always means the computer you’re working on, also known as localhost. Try typing that in your web browser. It will likely bring up a blank page.
Also understand that www.website.com and website.com are not the exact same thing. For both of them to take us to the same website both must resolve to the same IP address
- Blocking Websites With The Hosts File
Navigate to C:\Windows\System32\Drivers\etc
Now you can see the hosts file. Open it.
Go to the last line of the page and add your own line. Let’s say we’re blocking Facebook.
Enter IP of 255.255.255.255. Press the tab key and enter facebook.com.
Now open your web browser and go to facebook.com. It might still load! Why? Facebook’s real IP may still be sitting in the browser cache and the browser will use that IP first. Delete your browser’s cache and try Facebook again. You should now see an error page.
Subcribe Us : https://www.youtube.com/channel/UCk5I-XgNylV_tMzoRbAP1Og?sub_confirmation=1
Contact :
+ Telegram: t.me/channel_itsupport
+ Facebook: https://www.facebook.com/100010133917307
+ Youtube: https://www.facebook.com/100010133917307
Rhodesia and Talky Beat by Twin Musicom is licensed under a Creative Commons License – Attribution 4.0 license. https://creativecommons.org/licenses/by/4.0/
Source: http://www.twinmusicom.org/song/265/talky-beat
Artist: http://www.twinmusicom.org
Ice Cold and Fat Caps by Audionautix is licensed under a Creative Commons License – Attribution 4.0 license. https://creativecommons.org/licenses/by/4.0/
Artist: http://audionautix.com/
Enter the Party by Kevin MacLeod is licensed under a Creative Commons License – Attribution 4.0 license. https://creativecommons.org/licenses/by/4.0/
Source: http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1100240
Artist: http://incompetech.com/
0 Comments