Created
April 22, 2018 03:27
-
-
Save NOLFXceptMe/1e8664f96233dbbbba347bc1d37f6977 to your computer and use it in GitHub Desktop.
hosts file blocking reddit, facebook, and some ads websites.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# Host Database | |
# | |
# localhost is used to configure the loopback interface | |
# when the system is booting. Do not change this entry. | |
## | |
127.0.0.1 localhost | |
255.255.255.255 broadcasthost | |
::1 localhost | |
# Block Reddit | |
127.0.0.1 reddit.com i.reddit.com www.reddit.com m.reddit.com | |
# Block Facebook IPv4 | |
127.0.0.1 www.facebook.com | |
127.0.0.1 facebook.com | |
127.0.0.1 login.facebook.com | |
127.0.0.1 www.login.facebook.com | |
127.0.0.1 fbcdn.net | |
127.0.0.1 www.fbcdn.net | |
127.0.0.1 fbcdn.com | |
127.0.0.1 www.fbcdn.com | |
127.0.0.1 static.ak.fbcdn.net | |
127.0.0.1 static.ak.connect.facebook.com | |
127.0.0.1 connect.facebook.net | |
127.0.0.1 www.connect.facebook.net | |
127.0.0.1 apps.facebook.com | |
# Block Facebook IPv6 | |
fe80::1%lo0 facebook.com | |
fe80::1%lo0 login.facebook.com | |
fe80::1%lo0 www.login.facebook.com | |
fe80::1%lo0 fbcdn.net | |
fe80::1%lo0 www.fbcdn.net | |
fe80::1%lo0 fbcdn.com | |
fe80::1%lo0 www.fbcdn.com | |
fe80::1%lo0 static.ak.fbcdn.net | |
fe80::1%lo0 static.ak.connect.facebook.com | |
fe80::1%lo0 connect.facebook.net | |
fe80::1%lo0 www.connect.facebook.net | |
fe80::1%lo0 apps.facebook.com | |
# Block Google Adservices | |
127.0.0.1 www.googleadservices.com adservice.google.com | |
127.0.0.1 adclick.g.doubleclick.net | |
# Block others | |
127.0.0.1 results.searchlinks.com api.searchlinks.com beacon.searchlinks.com js.searchlinks.com | |
127.0.0.1 thumbnails.cbsig.net saa.cbsi.com dw.cbsi.com | |
127.0.0.1 tz284.com | |
127.0.0.1 www.adsensecustomsearchads.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment