Intercept other DNS traffic setting causes some sites not to load
Description
The Intercept other DNS traffic
setting causes https://1.1.1.1
and https://1.0.0.1
to not load and results in the errors mentioned in the logs below. Disabling the setting results in those URLs loading normally (the reason I use these websites is for https://1.1.1.1/help
so I can verify DoH or DoT is working).
Troubleshooting
I observed the same issue with other DNS servers (tested using Cloudflare, Quad9 and SecureDNS) on both DoH and DoT.
I tried loading the websites on Chromium and Firefox, ensuring neither had their inbuilt DNS resolvers enabled (#enable-async-dns
and #enable-dns-over-https
disabled in Chromium and network.trr.mode
set to 0
in Firefox).
I tried this on 1.0-Beta-adblock Build 33
and 1.0-Beta-adblock Build 36
.
Platform
Android 9 (AOSP)
Logs
This error appears initially (length and index vary):
[VPN-LIBRARY, INFO]: Could not parse a DNS packet: java.lang.ArrayIndexOutOfBoundsException: length=80; index=2816
Which eventually changes to:
[VPN-LIBRARY, INFO]: Could not parse a DNS packet: java.io.EOFException