 Alright, so in this video I'm going to give you one quick tip to totally purge all ads and tracking and porn and everything else you want from your life. So I mean a lot of people could use this, maybe you just like want to sort of advance the ad blocker, maybe you want your 14 year old kid to not watch porn, maybe you want something else, but it's pretty easy to ban your machines from accessing websites. So I'm on Linux, but this actually is going to work on macOS and Windows, and I'll tell you how to do that later. But what I'm going to do now is I'm just going to become a root user. Now in case you don't know, there's a little file on Linux, which of course has an equivalent in Windows and stuff. On Linux it's etsy.host, or excuse me, slash hosts, and if you open it up it's basically a list of aliases for IP addresses. So the idea is, you know, whenever you are putting in localhost at .localdomain you're actually going to this IP address. So let me show you how you can use this. First I'll show you where you actually do have internet access. I'm going to go to my website, which is lukesmith.xyz. Now here's the interesting thing. Let's say I decide that my website is not appropriate for, you know, public viewership, and I want to ban this site from my computer. Well what I can do is I can alias my website to basically a null IP address. What I can do is, let's say I want to make, whenever I access my website I want to go to 0.0.0.0, which effectively just means don't actually access this site, just give up, don't even bother. All I have to do is type in 0.0.0.0 and then I type in my website name, so lukesmith.xyz. So I'm going to save the file, now I'm going to reload and look at that. I can no longer access my site, pretty convenient. So basically what you can do is, let's say you don't want someone on your computer accessing a particular website, you can just throw it in your hosts file and that'll do the dirty work for you. So let's say you care about blocking ads, well first off I don't actually want to block my own site so I'm just going to let that go. So let's say you want to block ads, theoretically what you would have to do is put every single site that, or excuse me, every ad provider in here linking them all to 0.0.0 and that would be a huge pain. Well conveniently there are people who have compiled enormous lists of all the different ads and tracking companies in the whole world and I've actually compiled them here for you. So I'll provide a link to this file but it is, oh geez, 50,000 lines long, how big is this? Okay it's more than a meg. So this is a huge list of ads tracking IPs. There are like porn sites, there are, you can block Google sites if you don't want them tracking. You can block social media sites, et cetera, et cetera, Pinterest, Tumblr, let's say you're too distracted by MySpace, you want to block it. And you can just add them into your hosts file. So I'm going to provide a link to this and basically what you do, let's say I want to actually add these, let me go into the right folder. So here's the file IPS, that's the file we just talked about. So of course to add these on Linux, what you just do is make sure you're the root user. I'm actually going to exit this so it doesn't get confused. And just a cat, all of that onto Etsy slash hosts. And when you do that, of course, you're going to have this huge list of different domains that you don't want to pay attention to anymore. So if we pull up our browser and go to, let's say Google was on the tracking list, or excuse me, the block list, go to Google.com, oh look at that, nothing showed up. And of course, if you actually look at what you're pinging, if you ping Google.com, you will see you are actually just pinging yourself, you're not really doing anything. Now I will say one little side note is some people do, you can put 127.0.0.1, but it's better to put all zeros just because I think there's a timeout if you're using 127.0.0.1, but that's just a little note. But I did verify you can do this on Windows as well. So you just have to go to C, Windows, System 32 Drivers Etsy, and then there's a host file in there as well, which works the same way, I think, based on this highly reliable random site that I found, but it looks like the syntax is exactly the same. So again, I'm going to provide a link to this in the description, and it has a huge list of all these sites that I usually block. Again once in a while, since I'm a YouTuber, there are some things on Google I have to unblock, you know, analytic kind of stuff. But basically if you have this, it's a really resource, unintensive way of blocking garbage sites when you don't have, and you don't have to worry about anything. Or again if you have, if you don't want people on your system accessing certain websites, you know, if you have a kid who might watch porn, this is a really good way of just blocking them altogether. So whenever they go to some kind of porn site, let's go to a porn site, everyone knows about Pornhub, so we can go there and, you know, I won't be, you know, spoiling anyone. So if you go there, oh look, nothing pops up. And of course in order to change this, whoever is going to need administrative privileges, or even if you're blocking it for your own good, you at least have to go in as a route and change the, you know, file. So it's at least some kind of, you know, deterrence I guess. But anyway, link in the description, and thanks to the numerous subscribers that actually recommended this to me, because I never knew that you could, I guess I sort of thought in the back of my mind you could do this, but it never really hit me until a couple people recommended it to me. So thanks all of you, you know who you are, who did do this. So anyway, well, thanks for watching. I hope this is useful. See you next time.