FlyerTalk Forums

FlyerTalk Forums (https://www.flyertalk.com/forum/index.php)
-   Travel Technology (https://www.flyertalk.com/forum/travel-technology-169/)
-   -   "Random techie stuff I've been doing during the lockdown" thread (https://www.flyertalk.com/forum/travel-technology/2018304-random-techie-stuff-ive-been-doing-during-lockdown-thread.html)

Walton12 May 26, 2020 6:17 pm

OP, I read your post word by word, very carefully, I'm dull too.

LondonElite May 27, 2020 1:05 am

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!

gfunkdave May 27, 2020 7:07 am

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.

LondonElite May 27, 2020 7:34 am

Thank you for that explanation. I will do further research!

BigLar May 27, 2020 9:09 am


Originally Posted by gfunkdave (Post 32407158)
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.

Sounds somewhat like using the "hosts" list, but on steroids.

gfunkdave May 27, 2020 9:53 am


Originally Posted by BigLar (Post 32407490)
Sounds somewhat like using the "hosts" list, but on steroids.

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)

Coolers May 27, 2020 9:57 am

To clarify, hosts is not limited to Windows. Ad block apps for Android still operate on this basis. At least, the good ones that require root.

josephstern May 27, 2020 10:02 am


Originally Posted by gfunkdave (Post 32407610)
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)

Hosts is also integral still on MacOS and on Linux. It works with DNS - DNS doesn't really replace it. At this point, it's almost like an override file. It's an earlier stop for domain name resolution.

gfunkdave May 27, 2020 11:05 am


Originally Posted by josephstern (Post 32407628)
Hosts is also integral still on MacOS and on Linux. It works with DNS - DNS doesn't really replace it. At this point, it's almost like an override file. It's an earlier stop for domain name resolution.

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.

DYKWIA May 28, 2020 2:44 am


Originally Posted by Coolers (Post 32407621)
To clarify, hosts is not limited to Windows. Ad block apps for Android still operate on this basis. At least, the good ones that require root.

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".

Error 601 May 29, 2020 1:36 pm

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.

LAXlocal May 29, 2020 7:12 pm

Can you still HOSTS on windows ?
if so is there a list that is upgraded monthly or so ?

I remember using that years ago and loved the blank spaces that were ads before !

Error 601 May 29, 2020 11:29 pm

That just seems like extra effort when you can install Raspberry Pi in Docker and let it update itself.

jamcoley May 31, 2020 5:26 pm

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!

allset2travel Jun 1, 2020 7:04 pm


Originally Posted by jamcoley (Post 32419047)
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.

Do you care to share how to clean your laptop. During the last 3 months, I watched my "once very fast" desktop getting sloooooower and slower! I tried a few obvious things such as disable certain "startup" apps and "services". So far to no avail. Sometimes it ran so slowly that I could not even do work on Excel or Word, not to mention Adobe Photoshop! All my HDD and SS disk do not need defrag.
Any help will be appreciated! TIA.


All times are GMT -6. The time now is 5:56 pm.


This site is owned, operated, and maintained by MH Sub I, LLC dba Internet Brands. Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Designated trademarks are the property of their respective owners.