Ninjastic
Home
Search
Users
Boards
Addresses
Ctrl + K
Toggle theme
Open menu
Post
Edited versions
Quotes to this post
Post
60745466
Topic
5409705
Board
Serious discussion
Merits
1 from 1 user
Re: Listing subdomains of [social media] websites for /etc/hosts blackhole-ing
by
LoyceV
on
13/08/2022, 13:11:10 UTC
⭐ Merited by
ETFbitcoin
(1)
Quote from: NotATether on
Today
at 06:59:10 AM
someone should track all its subdomains in a text file
Someone did that already
Allow me to quote myself:
Quote from: LoyceV on January 16, 2018, 12:31:18 PM
Quote from: Vod on January 16, 2018, 09:15:49 AM
Someone ~ should maintain a list
Someone already did that:
https://github.com/StevenBlack/hosts
(scroll down a bit to see many different categories hosts files).
Quote from: NotATether on
Today
at 06:59:10 AM
I'd still prefer some folder like /etc/hosts.d where you can put files for any website in individual files. That'll make it much simpler to add new subdomains without breaking everything. Maybe using something like
https://unix.stackexchange.com/questions/60549/etc-hosts-file-refer-to-another-configuration-file
I would have suggested exactly what it shows there already:
Code:
cat /etc/hosts.d/*.conf > /etc/hosts