My question is this. I am in the midst of making my own list of URL'S with there respective IP's.
I.E. rr5---sn-tt1e7n7l.googlevideo.com 173.194.131.107
When I'm done I will save it in txt format.
When I'm done compiling my list, how can I upload my list to my pihole.
First thought - blocking YouTube ads with these domains will prove fruitless, and may interfere with your desired content. Very long running thread here:
Second thought - in a hosts formatted file, the IP comes first, then the domain name. You have this backwards.
Pi-hole will import lists that are either in hosts format or simply a list of domains. If the list is in hosts format, Pi-hole will strip the leading IP's and keep only the domains.
All three of these line entries below can be parsed by Pi-hole, and only the domain name (www.jiztini.com) will remain:
Or if you want your blocklist in the cloud, you can put it in your DropBox account, get the share link and plug that URL into your Pi-Hole to download from it.
depends on how many entries, I have a bit over 101.000 blocked domains, with some of them stripped of... domaims I won't ever visit, not a large amount, like 20 or so.
Removing those 0 saved a staggering amount in one of the blocklists, I'll go link to it on github if you want?
Sure if you want to create your own list, you can decide to omit the IP addresses.
But it wont be a HOSTS format anymore that can be imported by other software (not only Pi-hole).
And we showed you already that omitting the IP's is hardly worth the effort.
Its your list so you decide.