Blocking instagram on mobile

Please follow the below template, it will help us to help you!

Expected Behaviour:

completely block instagram

Actual Behaviour:

android users can access instagram normally

I blocked almost every domain i could find in pihole log, but my android users can still access instagram.
i see al kinds of entries like this:
Dec 22 12:21:41 dnsmasq[857]: 942 80.114.200.181/44081 query[A] i.instagram.com from xxx
Dec 22 12:21:41 dnsmasq[857]: 942 80.114.200.181/44081 /etc/pihole/black.list i.instagram.com is 0.0.0.0
Dec 22 12:21:42 dnsmasq[857]: 947 80.114.200.181/17502 query[A] scontent-amt2-1.cdninstagram.com from xxx
Dec 22 12:21:42 dnsmasq[857]: 947 80.114.200.181/17502 /etc/pihole/black.list scontent-amt2-1.cdninstagram.com is 0.0.0.0

but they still can do everytjing on instagram. when i try on my laptop, everything is blocked.
They are not using custom dns, but use dhcp, from the router that uses pihole dns

anyone? I canot get it to work. Reinstalled, updated, but still not blocking

this is everything blocked regarding instagram:
stuill
Match found in Blacklist
scontent-amt2-1.cdninstagram.com
i.instagram.com
api.instagram.com
platform.instagram.com
Match found in https://smokingwheels.github.io/Pi-hole/allhosts:
api.instagram.com
black.ish.instagram.com
i.instagram.com
instagram.com
logger.instagram.com
platform.instagram.com
scontent-ams3-1.cdninstagram.com
scontent-amt2-1.cdninstagram.com
scontent-arn2-1.cdninstagram.com
scontent-atl3-1.cdninstagram.com
scontent-dft4-1.cdninstagram.com
scontent-dft4-2.cdninstagram.com
scontent-fra3-1.cdninstagram.com
scontent-frt3-1.cdninstagram.com
scontent-iad3-1.cdninstagram.com
scontent-kul1-1.cdninstagram.com
scontent-mia1-1.cdninstagram.com
scontent-ort2-1.cdninstagram.com
scontent-ort2-2.cdninstagram.com
scontent-sea1-1.cdninstagram.com
scontent-sit4-1.cdninstagram.com
scontent-sjc2-1.cdninstagram.com
scontent-syd2-1.cdninstagram.com
scontent.cdninstagram.com
telegraph-ash.instagram.com
white.ish.instagram.com
www.instagram.com
Match found in https://raw.githubusercontent.com/cpeterso/clickbait-blocklist/master/clickbait-blocklist.txt:
api.instagram.com
black.ish.instagram.com
i.instagram.com
instagram.com
logger.instagram.com
platform.instagram.com
scontent-iad3-1.cdninstagram.com
scontent.cdninstagram.com
telegraph-ash.instagram.com
white.ish.instagram.com
www.instagram.com
Match found in https://github.com/jmdugan/blocklists/blob/master/corporations/facebook/all:
api.instagram.com
black.ish.instagram.com
i.instagram.com
instagram.com
logger.instagram.com
platform.instagram.com
scontent-iad3-1.cdninstagram.com
scontent.cdninstagram.com
telegraph-ash.instagram.com
white.ish.instagram.com
www.instagram.com

Use wildcard

i am using:
insta.+.com$

but still all access available to instagram

Are you sure that your android users are using the Pi-hole for their DNS and not either a hardcoded DNS server address in the instagram application, or using another DNS server that is provided to the android (possibly via the cell phone providers data connection?)

yes, i set their wifi to dhcp, even set the dns with manual settings to my pihole dns
They have no cellular or other wifi(all others are mac adress blocked)
I am blocking their mac on the main router, i have a second router with openwrt(gargoyle) and use Force Clients To Use Router DNS Servers, and I set my pihole ip as only dns server.

Everything else i block works fine, except instagram.

You may want to run a packet sniffer on the network segment then and capture DNS traffic to see how the Androids are different than the rest of the network. One solution would be to set some IPTables rules that blocks and redirects all port 53 traffic to go through the Pi-hole installation.

If the instgram application on Android is forcing the application to use an external DNS server that is not of your choosing then there may need to be some other tooling applied to force the Pi-hole to be server.

1 Like

hmm, i never used wireshark.
Is it possible that i can capture all dns requests on my router? (with the pihole dns ip)

yes, ziggo, with ipv6
is the instagram app (and other apps that use instagram)maybe using ipv6?

i dont think thats possible in the ziggo connectbox?

This one
CH7465LG-ZG

I see no IPv6 settings

Does it matter that the 2nd router does not support IPv6?

One Android is connected to my 2nd piholed router, local ip 192.168.0.215, IPv6 fe80::xxxxx
2nd same, local ip4 and fe80::xxxx

I also found one Android had a private DNS optioneel, guess that also bypasses pihole

Router is connected as gateway to the Ziggo box, that has 192.168.1.1

what i find strange is when i go to this:
http://ipv6-test.com/
i get IPv6 Not supported

I see, that was in my laptop
, on my Android i get IPv6 supported

Whats needed to get IPv6 in my pihole external vps?
I did a pihole -r and added IPv6, but its not supported

1043nd tplink, with gargoyle firmware

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.