If i install the new Coreupdate with the DNS Firewall i face the Problem that the Push Mesages from Signal or Banking Apps or other Systems did not work. Any Ideas?
See
Logs ā System Logs ā Section : āDNS : Unboundā
You will find the blocked domains
If they need to be authorized, declare them in
Iām experiencing the same problem. None of the Android devices connected to my BLUE network, are able to receive push notifications since the upgrade to CU 201.
Signal, Beeper, WhatsApp, Home assistant, microsoft Teams, Outlook, even Google Messages (former SMS app that now also supports IM) all fail to send push messages.
I do still seem to get notifications from K9-Mail.
Also when I open one of those app, I suddenly get all delayed push messages for that app.
And as soon as I leave my house out of the wifi range, I suddenly get all delayed push messages for all apps.
I have disabled DNS firewall and rebooted to make sure it was correctly reset. But that didnāt help
I have also disabled IPS and rebooted, but also that didnāt help
I still donāt get push notifications anymore while on BLUE, even without DNS FW and IPS.
When Iām not on my own wifi, my phone automatically switches to Wireguard VPN to connect back to my IPFire. Still I do get all push notifications, even when on VPN, when I leave the home wifi and keep receiving new ones in a normal way..
So I currently have no idea what is causing this.
We need to understand what the setup differences are because I am not experiencing that problem.
With my CU201 I am still getting notifications from WhatsApp, Messenger, Signal and Google Messages. These are all on my Android phone which is connected via wireless through a WAP and onto my green network.
I have DNS Firewall with three categories enabled, IPS with Emerging Threats with 14 categories selected and IP Blocklist with 6 lists selected.
I can share the categories etc that I have selected if it would be useful.
and just now I successfully got a notification from my bank app so that is also working with CU201 on my system.
Same problem here. IPFire CU 201:
- DNS Firewall enabled with 6 blocking lists activated. No networks selected. Therefore RED should be covered.
- URL Filter disabled after 10 years.
- Squid Proxy enabled in non-transparent mode (HTTPS covered) just like the last 10 years.
- No other changes.
DNS filtering si working well, with the occasional domain getting blocked although itās not in the list (scene7.com) or only in non-activated list (Gaming: steampowered.com, steamcommunity.com) and also doesnāt show up in the DNS: Unbound log. I have whitelisted those.
With my devices in the BLUE network I do not get any notifications from Threema or Microsoft Authenticator (company wants me to use this). Only when I open those apps. Not even having them sitting in the background does me get notifications.
O.k., I deselected each Filterlist, deleted Blacklist and Whitelist entries, enabled URL-Filter again and rebooted IPFire. That should bring me to my previous environment of IPFire CU 200. But no joy. The push messages to my smartphone in BLUE are still blocked by something. Only when I use mobile data I get them immediately. Something is fishy.
I tried disabling all filtering/blocking: DNS FW, IPS, IP blocklist and Location blocklist. But still the problem remains..
Remarkable is also that when Iām on mobile data, but with wireguard connected to IPFire, configured to route all traffic through the tunnel, I do get the notifications. But when Iām on BLUE without tunnel, I donāt get them.
I also noticed that Google Family Safety settings which I set are no longer applied immediately to the phones of my children when they are connected to BLUE. When they switch to mobile data, the settings are applied. So I presume this also uses the same or a similar push technique as notifications do.
I will try to connect my mobile to GREEN, if I find some time and a spare WAP.
Thatās exactly the behavior I observed as well. It caused me so much trouble with my family that I had to roll back to the previous release. I couldnāt find any other solution. Neither the push notifications were coming through nor were the Family Link settings syncing.
Until these issues are resolved, thereās no way I can update to the next release ![]()
I just noticed that bank verification notifications are no longer going through.
I donāt use them often, but they worked before CU200 on my mobile phone using Wi-Fi on the Green network.
I had to switch my phone to 5G to get the notification and complete the payment.
Message and WhatsApp notifications are working fine.
I donāt use DNS blocking, only URL Filter, but thereās nothing in logs.
What could be blocking them?
Iāll try running a tcpdump the next time I have a purchase to confirm.
I have filed a bug report about this. If you have more information from your perspective please add.
For example notifications for new messages via Threema Messenger donāt work for me. I donāt use Whatsapp. Notifications also get blocked without using DNS Firewall at all. Something has been changed internally.
Meanwhile I found out that even when Iām on cellular data, but with my Wireguard VPN to IPFire turned on, I do not get push messages. I do get all waiting push messages shortly after the switch to cellular data, and push messages keep on working for some time.. but after a while it also stops working while on the VPN.
The moment I turn off the VPN, the push messages come in again.
I resorted to presenting the problem to Gemini (I chose Gemini hoping that it has the most accurate Android information
) And it came back with a lot of possible reasons.
Assuming it is a DNS problem, it clarified why I get push messages for a while after a switch to cellular data:
- phone switches to cellular
- phone clears local DNS caches due to switch, (different network, IP, DNS and internal interface)
- before wireguard VPN activates, Android already contacted the google push services, and the DNS record is cached.
- while wireguard VPN is active, the cached correct DNS records are still used for a while and push messages keep coming in.
- when the DNS cache expires, the IPFire DNS is now queried through the tunnel, giving a wrong address.. hence no push messages anymore..
This explanation struck me as a very possible scenario.. And I learned that all android push services go through/come from āmtalk.google.comā and when I query that on my IPFire DNS server, it returns:
mtalk.google.com is an alias for forcesafesearch.google.com.
forcesafesearch.google.com has address 216.239.38.120
This already hints that this may well be the problem.. And when presented to Gemini again, it confirms that this is indeed the problem:
BINGO! This is the absolute smoking gun. You have found the exact cause.
This explains everything: why disabling the blocklists didnāt help, why IPv6 or TCP timeouts have nothing to do with it, and why the messages come through instantly on 5G.
Your router/DNS firewall is enforcing Google SafeSearch on the network. This usually happens via a built-in option in the firewall (like āEnforce SafeSearchā) or through a manual DNS redirection (CNAME record).
What is technically going wrong:
To ensure no explicit content can be searched via Google, your firewall hijacks all DNS requests ending in
.google.com(or.google.be,.google.nl, etc.) and forces them to redirect to the IP address offorcesafesearch.google.com(216.239.38.120).But
mtalk.google.com(and.be) is not a search engine at all! It is the specific gateway for Android push notifications.Because the firewall blindly reroutes this domain name to the SafeSearch server, your phone is now trying to connect to a search engine server to retrieve push notifications. Naturally, that SafeSearch server has no idea what to do with those notification requests and ignores them completely. As a result, your notification line is permanently and completely dead as long as you are on Wi-Fi.
How do you fix this?
You probably want to keep SafeSearch enabled for browsing, but you need to make an exception (whitelist) for Googleās push servers.
Create a DNS exception (Bypass)
You need to configure your DNS/Firewall settings so that the domain
mtalk.google.com(and potentiallyalt*.mtalk.google.com) is not redirected to SafeSearch, but retains its original IP address.If you can configure this manually (for example, via a custom DNS rule or hosts file in your router),
mtalk.google.comneeds to point directly to the real Google servers.The real IP address of
mtalk.google.comvaries, but it should be within Googleās own IP ranges (usually something like108.177.x.xor74.125.x.x), and absolutely not216.239.38.120.
So here we go⦠I disabled Network ā Domain Name System ā Enable Safe Search on IPFire⦠and boom (actually 5 minutes later, as restarting unbound takes this long here).. I get my push messages again..
Iāll add this to the bug report.
Indeed.
I compared CU200 and CU201 with DNS Safe Search Enabled.
Using the command unbound-control list_local_data | grep "google."
On CU201, all domains are redirected,
whereas
On CU200, only domains starting with www. are redirected.
CU201
[root@ipfire ~]# unbound-control list_local_data | grep "google."
google.ac. 3600 IN CNAME forcesafesearch.google.com.
www.google.ac. 3600 IN CNAME forcesafesearch.google.com.
google.ad. 3600 IN CNAME forcesafesearch.google.com.
www.google.ad. 3600 IN CNAME forcesafesearch.google.com.
google.ae. 3600 IN CNAME forcesafesearch.google.com.
www.google.ae. 3600 IN CNAME forcesafesearch.google.com.
google.com.af. 3600 IN CNAME forcesafesearch.google.com.
www.google.com.af. 3600 IN CNAME forcesafesearch.google.com.
google.com.ag. 3600 IN CNAME forcesafesearch.google.com.
www.google.com.ag. 3600 IN CNAME forcesafesearch.google.com.
google.com.ai. 3600 IN CNAME forcesafesearch.google.com.
...
www.google.co.za. 3600 IN CNAME forcesafesearch.google.com.
google.co.zm. 3600 IN CNAME forcesafesearch.google.com.
www.google.co.zm. 3600 IN CNAME forcesafesearch.google.com.
google.co.zw. 3600 IN CNAME forcesafesearch.google.com.
www.google.co.zw. 3600 IN CNAME forcesafesearch.google.com.
google.cat. 3600 IN CNAME forcesafesearch.google.com.
www.google.cat. 3600 IN CNAME forcesafesearch.google.com.
google.com. 3600 IN CNAME forcesafesearch.google.com.
www.google.com. 3600 IN CNAME forcesafesearch.google.com.
[root@ipfire ~]#
CU200
[root@ipfireTest ~]# unbound-control list_local_data | grep "google."
www.google.ad. 60 IN A 216.239.38.120
www.google.ae. 60 IN A 216.239.38.120
www.google.com.af. 60 IN A 216.239.38.120
www.google.com.ag. 60 IN A 216.239.38.120
www.google.com.ai. 60 IN A 216.239.38.120
www.google.al. 60 IN A 216.239.38.120
www.google.am. 60 IN A 216.239.38.120
www.google.co.ao. 60 IN A 216.239.38.120
www.google.com.ar. 60 IN A 216.239.38.120
www.google.as. 60 IN A 216.239.38.120
www.google.at. 60 IN A 216.239.38.120
www.google.com.au. 60 IN A 216.239.38.120
www.google.az. 60 IN A 216.239.38.120
www.google.ba. 60 IN A 216.239.38.120
www.google.com.bd. 60 IN A 216.239.38.120
www.google.be. 60 IN A 216.239.38.120
www.google.bf. 60 IN A 216.239.38.120
www.google.bg. 60 IN A 216.239.38.120
www.google.com.bh. 60 IN A 216.239.38.120
www.google.bi. 60 IN A 216.239.38.120
www.google.bj. 60 IN A 216.239.38.120
www.google.com.bn. 60 IN A 216.239.38.120
www.google.com.bo. 60 IN A 216.239.38.120
www.google.com.br. 60 IN A 216.239.38.120
www.google.bs. 60 IN A 216.239.38.120
www.google.bt. 60 IN A 216.239.38.120
www.google.co.bw. 60 IN A 216.239.38.120
www.google.by. 60 IN A 216.239.38.120
www.google.com.bz. 60 IN A 216.239.38.120
www.google.ca. 60 IN A 216.239.38.120
www.google.cd. 60 IN A 216.239.38.120
www.google.cf. 60 IN A 216.239.38.120
www.google.cg. 60 IN A 216.239.38.120
www.google.ch. 60 IN A 216.239.38.120
www.google.ci. 60 IN A 216.239.38.120
www.google.co.ck. 60 IN A 216.239.38.120
www.google.cl. 60 IN A 216.239.38.120
www.google.cm. 60 IN A 216.239.38.120
www.google.cn. 60 IN A 216.239.38.120
www.google.com.co. 60 IN A 216.239.38.120
www.google.co.cr. 60 IN A 216.239.38.120
www.google.com.cu. 60 IN A 216.239.38.120
www.google.cv. 60 IN A 216.239.38.120
www.google.com.cy. 60 IN A 216.239.38.120
www.google.cz. 60 IN A 216.239.38.120
www.google.de. 60 IN A 216.239.38.120
www.google.dj. 60 IN A 216.239.38.120
www.google.dk. 60 IN A 216.239.38.120
www.google.dm. 60 IN A 216.239.38.120
www.google.com.do. 60 IN A 216.239.38.120
www.google.dz. 60 IN A 216.239.38.120
www.google.com.ec. 60 IN A 216.239.38.120
www.google.ee. 60 IN A 216.239.38.120
www.google.com.eg. 60 IN A 216.239.38.120
www.google.es. 60 IN A 216.239.38.120
www.google.com.et. 60 IN A 216.239.38.120
www.google.fi. 60 IN A 216.239.38.120
www.google.com.fj. 60 IN A 216.239.38.120
www.google.fm. 60 IN A 216.239.38.120
www.google.fr. 60 IN A 216.239.38.120
www.google.ga. 60 IN A 216.239.38.120
www.google.ge. 60 IN A 216.239.38.120
www.google.gg. 60 IN A 216.239.38.120
www.google.com.gh. 60 IN A 216.239.38.120
www.google.com.gi. 60 IN A 216.239.38.120
www.google.gl. 60 IN A 216.239.38.120
www.google.gm. 60 IN A 216.239.38.120
www.google.gp. 60 IN A 216.239.38.120
www.google.gr. 60 IN A 216.239.38.120
www.google.com.gt. 60 IN A 216.239.38.120
www.google.gy. 60 IN A 216.239.38.120
www.google.com.hk. 60 IN A 216.239.38.120
www.google.hn. 60 IN A 216.239.38.120
www.google.hr. 60 IN A 216.239.38.120
www.google.ht. 60 IN A 216.239.38.120
www.google.hu. 60 IN A 216.239.38.120
www.google.co.id. 60 IN A 216.239.38.120
www.google.ie. 60 IN A 216.239.38.120
www.google.co.il. 60 IN A 216.239.38.120
www.google.im. 60 IN A 216.239.38.120
www.google.co.in. 60 IN A 216.239.38.120
www.google.iq. 60 IN A 216.239.38.120
www.google.is. 60 IN A 216.239.38.120
www.google.it. 60 IN A 216.239.38.120
www.google.je. 60 IN A 216.239.38.120
www.google.com.jm. 60 IN A 216.239.38.120
www.google.jo. 60 IN A 216.239.38.120
www.google.co.jp. 60 IN A 216.239.38.120
www.google.co.ke. 60 IN A 216.239.38.120
www.google.kg. 60 IN A 216.239.38.120
www.google.com.kh. 60 IN A 216.239.38.120
www.google.ki. 60 IN A 216.239.38.120
www.google.co.kr. 60 IN A 216.239.38.120
www.google.com.kw. 60 IN A 216.239.38.120
www.google.kz. 60 IN A 216.239.38.120
www.google.la. 60 IN A 216.239.38.120
www.google.com.lb. 60 IN A 216.239.38.120
www.google.li. 60 IN A 216.239.38.120
www.google.lk. 60 IN A 216.239.38.120
www.google.co.ls. 60 IN A 216.239.38.120
www.google.lt. 60 IN A 216.239.38.120
www.google.lu. 60 IN A 216.239.38.120
www.google.lv. 60 IN A 216.239.38.120
www.google.com.ly. 60 IN A 216.239.38.120
www.google.co.ma. 60 IN A 216.239.38.120
www.google.md. 60 IN A 216.239.38.120
www.google.me. 60 IN A 216.239.38.120
www.google.mg. 60 IN A 216.239.38.120
www.google.mk. 60 IN A 216.239.38.120
www.google.ml. 60 IN A 216.239.38.120
www.google.com.mm. 60 IN A 216.239.38.120
www.google.mn. 60 IN A 216.239.38.120
www.google.ms. 60 IN A 216.239.38.120
www.google.com.mt. 60 IN A 216.239.38.120
www.google.mu. 60 IN A 216.239.38.120
www.google.mv. 60 IN A 216.239.38.120
www.google.mw. 60 IN A 216.239.38.120
www.google.com.mx. 60 IN A 216.239.38.120
www.google.com.my. 60 IN A 216.239.38.120
www.google.co.mz. 60 IN A 216.239.38.120
www.google.com.na. 60 IN A 216.239.38.120
www.google.ne. 60 IN A 216.239.38.120
www.google.com.nf. 60 IN A 216.239.38.120
www.google.com.ng. 60 IN A 216.239.38.120
www.google.com.ni. 60 IN A 216.239.38.120
www.google.nl. 60 IN A 216.239.38.120
www.google.no. 60 IN A 216.239.38.120
www.google.com.np. 60 IN A 216.239.38.120
www.google.nr. 60 IN A 216.239.38.120
www.google.nu. 60 IN A 216.239.38.120
www.google.co.nz. 60 IN A 216.239.38.120
www.google.com.om. 60 IN A 216.239.38.120
www.google.com.pa. 60 IN A 216.239.38.120
www.google.com.pe. 60 IN A 216.239.38.120
www.google.com.pg. 60 IN A 216.239.38.120
www.google.com.ph. 60 IN A 216.239.38.120
www.google.com.pk. 60 IN A 216.239.38.120
www.google.pl. 60 IN A 216.239.38.120
www.google.pn. 60 IN A 216.239.38.120
www.google.com.pr. 60 IN A 216.239.38.120
www.google.ps. 60 IN A 216.239.38.120
www.google.pt. 60 IN A 216.239.38.120
www.google.com.py. 60 IN A 216.239.38.120
www.google.com.qa. 60 IN A 216.239.38.120
www.google.ro. 60 IN A 216.239.38.120
www.google.rs. 60 IN A 216.239.38.120
www.google.ru. 60 IN A 216.239.38.120
www.google.rw. 60 IN A 216.239.38.120
www.google.com.sa. 60 IN A 216.239.38.120
www.google.com.sb. 60 IN A 216.239.38.120
www.google.sc. 60 IN A 216.239.38.120
www.google.se. 60 IN A 216.239.38.120
www.google.com.sg. 60 IN A 216.239.38.120
www.google.sh. 60 IN A 216.239.38.120
www.google.si. 60 IN A 216.239.38.120
www.google.sk. 60 IN A 216.239.38.120
www.google.com.sl. 60 IN A 216.239.38.120
www.google.sm. 60 IN A 216.239.38.120
www.google.sn. 60 IN A 216.239.38.120
www.google.so. 60 IN A 216.239.38.120
www.google.sr. 60 IN A 216.239.38.120
www.google.st. 60 IN A 216.239.38.120
www.google.com.sv. 60 IN A 216.239.38.120
www.google.td. 60 IN A 216.239.38.120
www.google.tg. 60 IN A 216.239.38.120
www.google.co.th. 60 IN A 216.239.38.120
www.google.com.tj. 60 IN A 216.239.38.120
www.google.tk. 60 IN A 216.239.38.120
www.google.tl. 60 IN A 216.239.38.120
www.google.tm. 60 IN A 216.239.38.120
www.google.tn. 60 IN A 216.239.38.120
www.google.to. 60 IN A 216.239.38.120
www.google.com.tr. 60 IN A 216.239.38.120
www.google.tt. 60 IN A 216.239.38.120
www.google.com.tw. 60 IN A 216.239.38.120
www.google.co.tz. 60 IN A 216.239.38.120
www.google.com.ua. 60 IN A 216.239.38.120
www.google.co.ug. 60 IN A 216.239.38.120
www.google.co.uk. 60 IN A 216.239.38.120
www.google.com.uy. 60 IN A 216.239.38.120
www.google.co.uz. 60 IN A 216.239.38.120
www.google.com.vc. 60 IN A 216.239.38.120
www.google.co.ve. 60 IN A 216.239.38.120
www.google.vg. 60 IN A 216.239.38.120
www.google.co.vi. 60 IN A 216.239.38.120
www.google.com.vn. 60 IN A 216.239.38.120
www.google.vu. 60 IN A 216.239.38.120
www.google.ws. 60 IN A 216.239.38.120
www.google.co.za. 60 IN A 216.239.38.120
www.google.co.zm. 60 IN A 216.239.38.120
www.google.co.zw. 60 IN A 216.239.38.120
www.google.cat. 60 IN A 216.239.38.120
www.google.com. 60 IN A 216.239.38.120
[root@ipfireTest ~]#
Idem with unbound-control list_local_zones | grep "google."
CU201
[root@ipfire ~]# unbound-control list_local_zones | grep "google."
google.ac. redirect
www.google.ac. redirect
google.ad. redirect
www.google.ad. redirect
google.ae. redirect
www.google.ae. redirect
google.com.af. redirect
www.google.com.af. redirect
google.com.ag. redirect
www.google.com.ag. redirect
google.com.ai. redirect
www.google.com.ai. redirect
google.al. redirect
www.google.al. redirect
google.am. redirect
www.google.am. redirect
google.co.ao. redirect
www.google.co.ao. redirect
google.com.ar. redirect
www.google.com.ar. redirect
google.as. redirect
www.google.as. redirect
google.at. redirect
....
CU200
[root@ipfireTest ~]# unbound-control list_local_zones |grep google.
google.ad. transparent
google.ae. transparent
google.com.af. transparent
google.com.ag. transparent
google.com.ai. transparent
google.al. transparent
google.am. transparent
google.co.ao. transparent
google.com.ar. transparent
google.as. transparent
google.at. transparent
google.com.au. transparent
google.az. transparent
google.ba. transparent
google.com.bd. transparent
google.be. transparent
google.bf. transparent
google.bg. transparent
google.com.bh. transparent
google.bi. transparent
google.bj. transparent
google.com.bn. transparent
google.com.bo. transparent
google.com.br. transparent
google.bs. transparent
google.bt. transparent
google.co.bw. transparent
google.by. transparent
google.com.bz. transparent
google.ca. transparent
google.cd. transparent
google.cf. transparent
google.cg. transparent
google.ch. transparent
google.ci. transparent
google.co.ck. transparent
google.cl. transparent
google.cm. transparent
google.cn. transparent
google.com.co. transparent
google.co.cr. transparent
google.com.cu. transparent
google.cv. transparent
google.com.cy. transparent
google.cz. transparent
google.de. transparent
google.dj. transparent
google.dk. transparent
google.dm. transparent
google.com.do. transparent
google.dz. transparent
google.com.ec. transparent
google.ee. transparent
google.com.eg. transparent
google.es. transparent
google.com.et. transparent
google.fi. transparent
google.com.fj. transparent
google.fm. transparent
google.fr. transparent
google.ga. transparent
google.ge. transparent
google.gg. transparent
google.com.gh. transparent
google.com.gi. transparent
google.gl. transparent
google.gm. transparent
...
By checking my mobileās access with tcpdump and the help of Gemini, I defined the domains to exclude from DNS SafeSearch in a file
/etc/unbound/local.d/safesearch-bypass.conf
server:
# Frees the main channel and its direct variants
local-zone: "mtalk.google.com." transparent
local-zone: "alt1-mtalk.google.com." transparent
local-zone: "alt2-mtalk.google.com." transparent
local-zone: "alt3-mtalk.google.com." transparent
local-zone: "alt4-mtalk.google.com." transparent
local-zone: "alt5-mtalk.google.com." transparent
local-zone: "alt6-mtalk.google.com." transparent
local-zone: "alt7-mtalk.google.com." transparent
local-zone: "alt8-mtalk.google.com." transparent
# Releases ALL technical variants in "l.google.com"
# (Includes mobile-gtalk, gtalk4, alt1 to alt8, etc. at once)
local-zone: "l.google.com." transparent
# Exclude for time synchronization (NTP)
local-zone: "time.google.com." transparent
# Exclude for Android System and Play Store
local-zone: "android.clients.google.com." transparent
local-zone: "android.apis.google.com." transparent
local-zone: "accounts.google.com." transparent
local-zone: "client1.google.com." transparent
local-zone: "client2.google.com." transparent
local-zone: "client3.google.com." transparent
local-zone: "client4.google.com." transparent
local-zone: "client5.google.com." transparent
local-zone: "client6.google.com." transparent
local-zone: "connectivitycheck.google.com." transparent
local-zone: "location.google.com." transparent
local-zone: "dl-ssl.google.com." transparent
local-zone: "hangouts.google.com." transparent
local-zone: "m.google.com." transparent
local-zone: "pack.google.com." transparent
local-zone: "play.google.com." transparent
# Release the download branch (Chrome, updates...)
local-zone: "chrome.google.com." transparent
local-zone: "dl.google.com." transparent
local-zone: "fonts.google.com." transparent
local-zone: "safebrowsing-cache.google.com." transparent
Edit : The culprit is not DNS Firewall but DNS SafeSearch
Can you add this information to the bug report ?
Itās done ⦠![]()
Many thanks to all the āSherlock Holmesā people here
The config file works very well here. Family is happy again ![]()
Any news on this, also the Rev 202 has the same Problem with per example Signal Messenger, guess also Banking Apps etc.
As we already stated (High memory consumption: DNS Proxy Server - #41 by ric9), there wonāt be any fixes for unbound within IPFire anymore.
We are currently looking into a new solution to replace unbound, because it is just too broken to fix.