"Random techie stuff I've been doing during the lockdown" thread
#17
Suspended
Join Date: Mar 2002
Location: Canada, USA, Europe
Programs: UA 1K
Posts: 31,439
I did, but I'm still confused. It sounds like it's an ad-blocker from before the stream gets to your computer. But I'd probably screw things up with the IP-pointing (?) and don't really understand what benefit there is beyond a conventional ad-blocker. Is it perhaps that sites can't detect that you're using an ad-blocker which they force you to turn off? I feel like I've walked into the wrong classroom!
#18
FlyerTalk Evangelist



Join Date: Nov 2002
Location: ORD
Posts: 14,771
Pihole is an ad blocking DNS server for your local network. All connected devices use DNS to translate a domain name, like www.flyertalk.com, to an IP address, like 104.27.174.149. Computers actually connect to IP addresses, not domain names. DNS is like the phone book for the internet.
Usually whatever network you connect to supplies a DNS server for you to use. You internet provider will have several, for example. Instead of using the default DNS, you configure your router to hand out your Pihole as the DNS server for devices that connect to your router. The Pihole has lists of known ad domains and when it receives a request to resolve one (i.e., convert into an IP address) it returns a "not found" for that domain. For other domains, it just resolves them normally. Thus, ads are blocked across your entire network. I have been running it on mine for a year or so and it does its thing well but I've also found that many websites break when you block their ads. For example, clicking on a button might not do anything. Also, I've noticed the CBS streaming app on AppleTV will just hang when you try to play a video about half the time...the other half it will play your video without commercials, which is nice. So, I wind up disabling Pihole for a few minutes when I run into that.
Usually whatever network you connect to supplies a DNS server for you to use. You internet provider will have several, for example. Instead of using the default DNS, you configure your router to hand out your Pihole as the DNS server for devices that connect to your router. The Pihole has lists of known ad domains and when it receives a request to resolve one (i.e., convert into an IP address) it returns a "not found" for that domain. For other domains, it just resolves them normally. Thus, ads are blocked across your entire network. I have been running it on mine for a year or so and it does its thing well but I've also found that many websites break when you block their ads. For example, clicking on a button might not do anything. Also, I've noticed the CBS streaming app on AppleTV will just hang when you try to play a video about half the time...the other half it will play your video without commercials, which is nice. So, I wind up disabling Pihole for a few minutes when I run into that.
#20
FlyerTalk Evangelist

Join Date: Nov 2002
Location: Freeload Univ. Where are you sitting?
Posts: 14,818
Pihole is an ad blocking DNS server for your local network. All connected devices use DNS to translate a domain name, like www.flyertalk.com, to an IP address, like 104.27.174.149. Computers actually connect to IP addresses, not domain names. DNS is like the phone book for the internet.
Usually whatever network you connect to supplies a DNS server for you to use. You internet provider will have several, for example. Instead of using the default DNS, you configure your router to hand out your Pihole as the DNS server for devices that connect to your router. The Pihole has lists of known ad domains and when it receives a request to resolve one (i.e., convert into an IP address) it returns a "not found" for that domain. For other domains, it just resolves them normally. Thus, ads are blocked across your entire network. I have been running it on mine for a year or so and it does its thing well but I've also found that many websites break when you block their ads. For example, clicking on a button might not do anything. Also, I've noticed the CBS streaming app on AppleTV will just hang when you try to play a video about half the time...the other half it will play your video without commercials, which is nice. So, I wind up disabling Pihole for a few minutes when I run into that.
Usually whatever network you connect to supplies a DNS server for you to use. You internet provider will have several, for example. Instead of using the default DNS, you configure your router to hand out your Pihole as the DNS server for devices that connect to your router. The Pihole has lists of known ad domains and when it receives a request to resolve one (i.e., convert into an IP address) it returns a "not found" for that domain. For other domains, it just resolves them normally. Thus, ads are blocked across your entire network. I have been running it on mine for a year or so and it does its thing well but I've also found that many websites break when you block their ads. For example, clicking on a button might not do anything. Also, I've noticed the CBS streaming app on AppleTV will just hang when you try to play a video about half the time...the other half it will play your video without commercials, which is nice. So, I wind up disabling Pihole for a few minutes when I run into that.
#21
FlyerTalk Evangelist



Join Date: Nov 2002
Location: ORD
Posts: 14,771
Hosts is a Windows hack and artifact from much simpler times, but yes, the function of the hosts file is DNS resolution - albeit just for very limited cases. I believe it came about when networking was new and you needed a way to detail all the hosts on your local network (and they could all fit in a file, and didn't change much).
edit: Wikipedia points out I'm correct. yay! Hosts started in the early 80s and was supplanted by DNS, which automated the functionality and expanded it. It's amazing that the hosts functionality remains after all these years. https://en.wikipedia.org/wiki/Hosts_(file)
edit: Wikipedia points out I'm correct. yay! Hosts started in the early 80s and was supplanted by DNS, which automated the functionality and expanded it. It's amazing that the hosts functionality remains after all these years. https://en.wikipedia.org/wiki/Hosts_(file)
#23
FlyerTalk Evangelist



Join Date: Jul 2006
Location: Upper Sternistan
Posts: 10,680
Hosts is a Windows hack and artifact from much simpler times, but yes, the function of the hosts file is DNS resolution - albeit just for very limited cases. I believe it came about when networking was new and you needed a way to detail all the hosts on your local network (and they could all fit in a file, and didn't change much).
edit: Wikipedia points out I'm correct. yay! Hosts started in the early 80s and was supplanted by DNS, which automated the functionality and expanded it. It's amazing that the hosts functionality remains after all these years. https://en.wikipedia.org/wiki/Hosts_(file)
edit: Wikipedia points out I'm correct. yay! Hosts started in the early 80s and was supplanted by DNS, which automated the functionality and expanded it. It's amazing that the hosts functionality remains after all these years. https://en.wikipedia.org/wiki/Hosts_(file)
#24
FlyerTalk Evangelist



Join Date: Nov 2002
Location: ORD
Posts: 14,771
Yes, it's part of most operating systems but dates from the days before DNS existed, when the host file would contain domain names and addresses for *all* the computers connected to the internet. The host file provides static DNS resolution without a DNS server.
#25
Original Poster
Ambassador: Emirates Airlines
Join Date: Sep 2004
Location: Manchester, UK
Posts: 19,797
The Android mention is a good point. I use Android, and I've found that Adblockers don't tend to work on Chrome without some sort of rooting. So, Pi-Hole removed the ads "at source".
#26


Join Date: Jan 2007
Programs: No single airline or hotel chain is of much use to me anymore.
Posts: 3,790
I have been using Pi-hole for a couple years and it's great. Anyone who has used the internet at my house has asked me to set one up for them too. So far I have only had to whitelist Aeroplan, Constant Contact and some Amazon things.
We're also running it at work, although not on Raspberry Pi since it's more effective at squashing malvertizing than our firewall is.
We're also running it at work, although not on Raspberry Pi since it's more effective at squashing malvertizing than our firewall is.
#29
Join Date: Apr 2019
Posts: 63
Finally learning to clean my laptop on my own instead of asking someone else to do it. I've always been scared to do some irreversible damage to it so I never got to do it until now. Does research count? I've been looking into satphones through this resource for future camping, nature trails, etc, but looking also if it's more trouble than it's worth. Saw html a few replies up, and boy, it's been a while since I studied that!
#30




Join Date: Jan 2006
Location: SORT OF HOMELESS
Programs: 14 years AA exp, but no more; & 1MM+, QR-PLT (ow EMD) MR-LTT, HH Gold
Posts: 8,104
Any help will be appreciated! TIA.




