Forever free pihole blocking on google cloud compute

xiaofan

High Supremacy Member
Joined
Sep 16, 2018
Messages
37,667
Reaction score
12,865
Pi-hole on the Google Cloud has been running stable for quite some time for me. Last change was the addition of DoT last week.

From Pi-hole logs, Apple hosts consist the largest number of DNS request destinations from my home network (three iPhones plus three iPads, one old Apple TV 3rd gen). I choose to trust Apple though and whitelist many Apple severs.

Then we have three Huawei phones and one Huawei AX3 Pro router behind the main router, I do not see much DNS requests to Huawei servers. We had no Xiaomi phones now -- the only one was Xiaomi Max 1 but it died due to swollen battery. I also do not see much DNS requests from Oppo/Realme servers for the other two Android phones.




BhbsQr2.jpg



aF3aTRR.jpg



6lPwfyx.jpg
 
Last edited:

hereiam7788

Supremacy Member
Joined
Dec 10, 2015
Messages
5,277
Reaction score
1,023
If all this seems complicated, a commercial option is using mynextdns.io

It is a pihole, free for first 300k queries (enough for 2 ppl), unlimited is $2 a month

If you just want adblocking, you can also use adguard dns servers

old address expiring in 2021
176.103.130.130
176.103.130.131

new address as at sep 2020
94.140.14.14
94.140.15.15


DoH/DoT: dns.adguard.com

just manually configure this DNS server on both PC and mobile phone will have no more Ads for youtube?
 

yusoffb01

Arch-Supremacy Member
Joined
Jun 17, 2008
Messages
16,893
Reaction score
1,799
just manually configure this DNS server on both PC and mobile phone will have no more Ads for youtube?

youtube ads can be blocked using ublock origin on pc

for android phone use vanced.app

cannot be blocked by dns because the ads use same domain as other videos
 

Hafi

Arch-Supremacy Member
Joined
Mar 30, 2003
Messages
15,340
Reaction score
5,351
I have retired my AdGuard instance on VPS server in Datacenter (using it as backup spare for now) as I find running it from my internal network much more beneficial. Firstly the speed is faster at just under 20ms per request and I could identify individual clients which hostname they are querying which I could not do so with a cloud/VPS instance cos everything was reported as one IP. Lastly I got DoH working from my internal network also (actually its damn easy after researching which I overlooked) and does not require any port or domain hostname configuration so I am pretty satisfied for the time being.

The most annoying thing is as I have close to 7 million blocklists, I find that I have to keep manually whitelist false positive blocked domains therefor I have to remove 2 very large blocklists (Energized Unified Protection and UnifiedHosts) to cut it down to 4 million so its more manageable now.
 

hereiam7788

Supremacy Member
Joined
Dec 10, 2015
Messages
5,277
Reaction score
1,023
youtube ads can be blocked using ublock origin on pc

for android phone use vanced.app

cannot be blocked by dns because the ads use same domain as other videos

The unblock origin is superb. Now I can enjoy ad free YouTube video streaming on my laptops. Not only it blocks YouTube ads, but also other pop-up ads effectively.

Now looking for solution on my iPhones too.
 

xiaofan

High Supremacy Member
Joined
Sep 16, 2018
Messages
37,667
Reaction score
12,865
The unblock origin is superb. Now I can enjoy ad free YouTube video streaming on my laptops. Not only it blocks YouTube ads, but also other pop-up ads effectively.

Now looking for solution on my iPhones too.

Try the following tips for iOS. You have to use browser. You can uninstall the YouTube app and then try different browsers to see which is better.

https://www.lifewire.com/block-ads-on-youtube-4163604

It mentioned Adblock browser and Adblock for Safari.
 
Last edited:

xiaofan

High Supremacy Member
Joined
Sep 16, 2018
Messages
37,667
Reaction score
12,865
Very strange. It turns out I need to use Wireguard and then it is possible to access the Web GUI through the internet IP, not the public IP. I think I have not set up the firewall rules correctly. I can not even ping the public IP...

I am following another guide for Azure Pi-hole with Wireguard (through Pi-VPN).
https://joshspicer.com/wireguard-azure

Fixed. Need to add ufw rules to allow port 80/53 access from the home IP address.

I have done that for the virtual network from Azure portal. But then the Ubuntu virtual machine has ufw enabled which limits the access.

By the way, Azure portal by default even limits ping function to the external IP, you have to set up a rule to allow ICMP to allow ping to work.
 

xiaofan

High Supremacy Member
Joined
Sep 16, 2018
Messages
37,667
Reaction score
12,865
youtube ads can be blocked using ublock origin on pc

for android phone use vanced.app

cannot be blocked by dns because the ads use same domain as other videos

Vanced app is pretty good.

Unfortunately it has a problem with my Huawei phone. It will pop up a notification about disable power management for microG. But then microG does not appear in the app list of Huawei power management settings, on the Vanced Manager and Vanced.

In the end, I have to go back to NewPipe which is a bit basic compared to Vanced.
 

miloaisdino

Senior Member
Joined
Mar 25, 2016
Messages
843
Reaction score
26
Vanced app is pretty good.

Unfortunately it has a problem with my Huawei phone. It will pop up a notification about disable power management for microG. But then microG does not appear in the app list of Huawei power management settings, on the Vanced Manager and Vanced.

In the end, I have to go back to NewPipe which is a bit basic compared to Vanced.

can just force disable the notification.. tap and hold the notification then press the slider
 

hereiam7788

Supremacy Member
Joined
Dec 10, 2015
Messages
5,277
Reaction score
1,023
Try the following tips for iOS. You have to use browser. You can uninstall the YouTube app and then try different browsers to see which is better.

https://www.lifewire.com/block-ads-on-youtube-4163604

It mentioned Adblock browser and Adblock for Safari.

Yes the Adblock browser works just that it is not so convenient than an app for a mobile phone.

Even the comments section of the video when clicked, nothing shows up.
 
Last edited:

xiaofan

High Supremacy Member
Joined
Sep 16, 2018
Messages
37,667
Reaction score
12,865
Yes the Adblock browser works just that it is not so convenient than an app for a mobile phone.

Even the comments section of the video when clicked, nothing shows up.

iOS is pretty limited in this aspect. There are a few other content blockers for iOS like Adguard and Blokada which work with Safari browser, you can try them as well. Adguard seems to be better with an paid option, one time life subscription payment of S$14.98 seems to be a good deal (S$6.98 per year). Blokada+ is a VPN service with S$91.97 per year which is probably not worth it.

For Android, Adguard and Blokada (not the limited content blocker) were kicked out of Google Play Store but you can downlad from the official websites and sideload the apks.

Both have the free version and the paid option. I am trying the free version of Adguard first to see how it works along with or versus Pi-Hole.

BTW, uBlock Origin is now available for Firefox under Android.
 
Last edited:

hereiam7788

Supremacy Member
Joined
Dec 10, 2015
Messages
5,277
Reaction score
1,023
iOS is pretty limited in this aspect. There are a few other content blockers for iOS like Adguard and Blokada which work with Safari browser, you can try them as well. Adguard seems to be better with an paid option, one time life subscription payment of S$14.98 seems to be a good deal (S$6.98 per year).

For Android, Adguard and Blokada (not the limited content blocker) were kicked out of Google Play Store but you can downlad from the official websites and sideload the apks.

Both have the free version and the paid option. I am trying the free version of Adguard first to see how it works along with or versus Pi-Hole.

BTW, uBlock Origin is now available for Firefox under Android.


i thini i will stick to watching youtube on my laptop. the ublock origin is really working well. even better than the adblock plus that i have used for years....

to use paid service or need to use extra service like VPN to do. i may rather paid for the youtube premium instead. haha. but i won't la. will just continue to click the skip ad on my iphones. haha.
 
Last edited:

xiaofan

High Supremacy Member
Joined
Sep 16, 2018
Messages
37,667
Reaction score
12,865
i thini i will stick to watching youtube on my laptop. the ublock origin is really working well. even better than the adblock plus that i have used for years....

to use paid service or need to use extra service like VPN to do. i may rather paid for the youtube premium instead. haha. but i won't la. will just continue to click the skip ad on my iphones. haha.

Haha, good choice. You may still add Adguard DNS or other simple DNS solution for your iOS device and laptop (eg: configure on your main router), not useful for the YouTube app, but good for general protection.

BTW, YouTube Premium is at S$11.98 per month which includes YouTube Music Premium service for free (priced at S$9.98 per month by itself).

So yes if you are willing to pay for that then you are good to go and it is the best solution for iOS.

Take note Adguard Pro for iOS is only S$14.98 one time charge, with the limitation that it only works for the Safari browser, due to iOS limitation. Adblock Browser is free for iOS.

On the other hand, Android solution is much easier using the Vanced App or NewPipe.
 
Last edited:

badsector

Supremacy Member
Joined
Mar 10, 2001
Messages
6,525
Reaction score
59
Haha, good choice. You may still add Adguard DNS or other simple DNS solution for your iOS device and laptop (eg: configure on your main router), not useful for the YouTube app, but good for general protection.

BTW, YouTube Premium is at S$11.98 per month which includes YouTube Music Premium service for free (priced at S$9.98 per month by itself).

So yes if you are willing to pay for that then you are good to go and it is the best solution for iOS.

Take note Adguard Pro for iOS is only S$14.98 one time charge, with the limitation that it only works for the Safari browser, due to iOS limitation. Adblock Browser is free for iOS.

On the other hand, Android solution is much easier using the Vanced App or NewPipe.

ios u may try Alook browser app
certain ios app can run script to auto block as well

openwrt install adguard home can block also
 

xiaofan

High Supremacy Member
Joined
Sep 16, 2018
Messages
37,667
Reaction score
12,865
ios u may try Alook browser app
certain ios app can run script to auto block as well

openwrt install adguard home can block also

Thanks for pointing this out. I will try Alook browser on our iOS devices.

My openwrt experiment does not go far away enough -- only installed on my Linksys WRT1900AC and TP-Link RE350 (limited RAM so just worked as a wireless bridge). I will experiment with the WRT1900AC more.

But indeed I should get an x86 based mini PC to try out openwrt and pfsense...

Not so sure if I should take risk and go with the following, tempting because of 4 ports 2.5Gbe.

https://m.tb.cn/h.4YME4E3?sm=d01b69
【Intel Gemini lake J4125 4口2.5G软路由V2.0版本】

BTW, so far I have not yet appreciate the benefits of Adguard Home versus Pi-Hole yet. I will try it on the Cloud first.

The comparison from Adguard itself is probably a bit biased.
https://kb.adguard.com/en/home/overview
 
Last edited:

yusoffb01

Arch-Supremacy Member
Joined
Jun 17, 2008
Messages
16,893
Reaction score
1,799
Thanks for pointing this out. I will try Alook browser on our iOS devices.

My openwrt experiment does not go far away enough -- only installed on my Linksys WRT1900AC and TP-Link RE350 (limited RAM so just worked as a wireless bridge). I will experiment with the WRT1900AC more.

But indeed I should get an x86 based mini PC to try out openwrt and pfsense...

Not so sure if I should take risk and go with the following, tempting because of 4 ports 2.5Gbe.

https://m.tb.cn/h.4YME4E3?sm=d01b69
【Intel Gemini lake J4125 4口2.5G软路由V2.0版本】

BTW, so far I have not yet appreciate the benefits of Adguard Home versus Pi-Hole yet. I will try it on the Cloud first.

The comparison from Adguard itself is probably a bit biased.
https://kb.adguard.com/en/home/overview

u try setup and use the usb c to 2.5G ethernet. if have 100% uptime we can consider changing. cpu wise J4125 is capable of routing 10GB so should be fine
 
Important Forum Advisory Note
This forum is moderated by volunteer moderators who will react only to members' feedback on posts. Moderators are not employees or representatives of HWZ Forums. Forum members and moderators are responsible for their own posts. Please refer to our Community Guidelines and Standards and Terms and Conditions for more information.
Top