AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

Facebook app not loading

Open ShahariarRabby opened this issue 1 year ago • 8 comments

Prerequisites

Platform (OS and CPU architecture)

Linux, ARMv7

Installation

Custom package (OpenWrt, HomeAssistant, etc; please mention in the description)

Setup

On one machine

AdGuard Home version

Version: 0.107.59

Action

When using the Facebook app on iOS with Adblock Home enabled, most posts are not loading properly. Sometimes, the app doesn’t load any content at all — comments don’t appear, and posts opened from notifications often fail to load.

The query log shows nothing being blocked, and even disabling Adblock from the GUI doesn’t fix the issue. However, switching to a different DNS provider immediately resolves the problem.

Expected result

All contact should load correctly.

Actual result

Not loading at all.

Additional information and/or screenshots

DNS: https://dns10.quad9.net/dns-query https://doh.cleanbrowsing.org/doh/security-filter/ tls://xx.dns.nextdns.io https://dns.nextdns.io/xx https://dns10.quad9.net/dns-query https://dns.quad9.net/dns-query https://cloudflare-dns.com/dns-query https://dns.google/dns-query tls://dns.google

Blocklist: AdGuard DNS filter AdAway Default Blocklist HaGeZi's Pro++ Blocklist OISD Blocklist Big HaGeZi's Anti-Piracy Blocklist Steven Black's List HaGeZi's Gambling Blocklist

No response

ShahariarRabby avatar Apr 12 '25 13:04 ShahariarRabby

What dns are you using and with what ad-lists?

Dynamic5912 avatar Apr 12 '25 16:04 Dynamic5912

What dns are you using and with what ad-lists?

DNS: https://dns10.quad9.net/dns-query https://doh.cleanbrowsing.org/doh/security-filter/ tls://xx.dns.nextdns.io https://dns.nextdns.io/xx https://dns10.quad9.net/dns-query https://dns.quad9.net/dns-query https://cloudflare-dns.com/dns-query https://dns.google/dns-query tls://dns.google

Blocklist: AdGuard DNS filter AdAway Default Blocklist HaGeZi's Pro++ Blocklist OISD Blocklist Big HaGeZi's Anti-Piracy Blocklist Steven Black's List HaGeZi's Gambling Blocklist

Facebook is slow/not working with adgurd disabled (working with mobile data)

ShahariarRabby avatar Apr 12 '25 22:04 ShahariarRabby

Have you checked the Query Logs to see what's being blocked when accessing Facebook?

Dynamic5912 avatar Apr 13 '25 09:04 Dynamic5912

What dns are you using and with what ad-lists?

DNS: https://dns10.quad9.net/dns-query https://doh.cleanbrowsing.org/doh/security-filter/ tls://xx.dns.nextdns.io https://dns.nextdns.io/xx https://dns10.quad9.net/dns-query https://dns.quad9.net/dns-query https://cloudflare-dns.com/dns-query https://dns.google/dns-query tls://dns.google

Blocklist: AdGuard DNS filter AdAway Default Blocklist HaGeZi's Pro++ Blocklist OISD Blocklist Big HaGeZi's Anti-Piracy Blocklist Steven Black's List HaGeZi's Gambling Blocklist

Facebook is slow/not working with adgurd disabled (working with mobile data)

How can you possibly do any troubleshooting with that list of redundant DNS upstreams and overlapping filters? You will have inconsistent DNS responses for starters.

You don't need both DNS over TLS and DNS over HTTPS versions of the same upstream, surely? You also have both the malware filtering + secured server for Quad9 (https://dns.quad9.net/dns-query) , as well as the unsecured Quad9 server (https://dns10.quad9.net/dns-query). You also have the DNS over HTTPS and DNS over TLS servers for Google.

On the filter side, you have overlapping, redundant filters. Hagezi already includes OISD + AdGuard + AdAway + Steven Black as sources.

You will simplify your life immeasurably by choosing a single nonfiltering upstream DNS provider, e.g. basic Cloudflare (1.1.1.1 and 1.0.0.1) and a single filter (e.g. AdGuard DNS) initially until you get things working. Once you have got the basics working, introduce one variable at a time so you know what is responsible if/when things break.

he-pennypacker avatar Apr 14 '25 12:04 he-pennypacker

What dns are you using and with what ad-lists?

DNS: https://dns10.quad9.net/dns-query https://doh.cleanbrowsing.org/doh/security-filter/ tls://xx.dns.nextdns.io https://dns.nextdns.io/xx https://dns10.quad9.net/dns-query https://dns.quad9.net/dns-query https://cloudflare-dns.com/dns-query https://dns.google/dns-query tls://dns.google Blocklist: AdGuard DNS filter AdAway Default Blocklist HaGeZi's Pro++ Blocklist OISD Blocklist Big HaGeZi's Anti-Piracy Blocklist Steven Black's List HaGeZi's Gambling Blocklist Facebook is slow/not working with adgurd disabled (working with mobile data)

How can you possibly do any troubleshooting with that list of redundant DNS upstreams and overlapping filters? You will have inconsistent DNS responses for starters.

You don't need both DNS over TLS and DNS over HTTPS versions of the same upstream, surely? You also have both the malware filtering + secured server for Quad9 (https://dns.quad9.net/dns-query) , as well as the unsecured Quad9 server (https://dns10.quad9.net/dns-query). You also have the DNS over HTTPS and DNS over TLS servers for Google.

On the filter side, you have overlapping, redundant filters. Hagezi already includes OISD + AdGuard + AdAway + Steven Black as sources.

You will simplify your life immeasurably by choosing a single nonfiltering upstream DNS provider, e.g. basic Cloudflare (1.1.1.1 and 1.0.0.1) and a single filter (e.g. AdGuard DNS) initially until you get things working. Once you have got the basics working, introduce one variable at a time so you know what is responsible if/when things break.

Since I'm using parallel requests in AdGuard Home, multiple upstreams and protocols aren't a problem — it just picks the fastest valid response. My DNS latency is unstable, so this setup helps me find the most responsive server automatically.

Image

And the issue I was having was not related to DNS, as I tried with adgurd disable + only setting to Level 3 DNS.

ShahariarRabby avatar Apr 14 '25 16:04 ShahariarRabby

Have you checked the Query Logs to see what's being blocked when accessing Facebook?

Yes, there is no block. Also, I feel like the query from the Facebook app is not showing in the query log. Because when the comments or contact are loading, no new queries are coming to the query log.

ShahariarRabby avatar Apr 14 '25 16:04 ShahariarRabby

So it's a routing issue with your network. Or it's related to the stupidly high latency you have.

Dynamic5912 avatar Apr 14 '25 16:04 Dynamic5912

Hello. As other users mentioned in the comments above, this is an issue with your configuration. You have several servers running in parallel mode (some of which filter results on their own). As you mentioned, when parallel mode is enabled, AdGuard Home returns the first response received from any upstream server. If a server with pre-set filtering happens to respond, it’s possible that a particular domain might be blocked.

sofvaskina avatar Aug 31 '26 11:08 sofvaskina