AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

Reddit app on iOS sometimes stop working using DoH

Open MohandL3G opened this issue 6 months ago • 6 comments

Prerequisites

Platform (OS and CPU architecture)

Linux, AMD64 (aka x86_64)

Installation

Docker

Setup

On one machine

AdGuard Home version

v0.107.74

Action

Replace the following command with the one you're calling or a description of the failing action:

------------
Got answer:
    HEADER:
        opcode = QUERY, id = 1, rcode = NOERROR
        header flags:  response, want recursion, recursion avail.
        questions = 1,  answers = 1,  authority records = 0,  additional = 1

    QUESTIONS:
        62.182.213.102.in-addr.arpa, type = PTR, class = IN
    ANSWERS:
    ->  62.182.213.102.in-addr.arpa
        name = 102.213.182.62.your-server.ly
        ttl = 3600 (1 hour)
    ADDITIONAL RECORDS:
    ->  (root)
        ??? unknown type 41 ???
        ttl = 0 (0 secs)

------------
Server:  102.213.182.62.your-server.ly
Address:  102.213.182.62

------------
Got answer:
    HEADER:
        opcode = QUERY, id = 2, rcode = SERVFAIL
        header flags:  response, want recursion, recursion avail.
        questions = 1,  answers = 0,  authority records = 0,  additional = 0

    QUESTIONS:
        reddit.com.HLC.local, type = A, class = IN

------------
------------
Got answer:
    HEADER:
        opcode = QUERY, id = 3, rcode = NOERROR
        header flags:  response, want recursion, recursion avail.
        questions = 1,  answers = 4,  authority records = 0,  additional = 1

    QUESTIONS:
        reddit.com, type = A, class = IN
    ANSWERS:
    ->  reddit.com
        internet address = 151.101.65.140
        ttl = 225 (3 mins 45 secs)
    ->  reddit.com
        internet address = 151.101.129.140
        ttl = 225 (3 mins 45 secs)
    ->  reddit.com
        internet address = 151.101.193.140
        ttl = 225 (3 mins 45 secs)
    ->  reddit.com
        internet address = 151.101.1.140
        ttl = 225 (3 mins 45 secs)
    ADDITIONAL RECORDS:
    ->  (root)
        ??? unknown type 41 ???
        ttl = 0 (0 secs)

------------
Non-authoritative answer:
Name:    reddit.com
Addresses:  151.101.65.140
          151.101.129.140
          151.101.193.140
          151.101.1.140

Expected result

for the reddit app on iOS to work, and not give me errors.

Actual result

This is what I get when I use the Reddit app but it doesn't happen always, someitmes

Image

Additional information and/or screenshots

No response

MohandL3G avatar May 09 '26 14:05 MohandL3G

This also happens with some apps, especially local ones, like in my Country there's an app called Presto for food delivery, this also happens to it, where sometimes it loses all connections and after a little bit it'll run again, and while the connection is out I don't see any queries in the query log, and some other apps like my Bank App Nuran.

I use this list to block the Private Relay.

MohandL3G avatar May 09 '26 16:05 MohandL3G

What DoH server?

Dynamic5912 avatar May 09 '26 16:05 Dynamic5912

a Self-Hosted one, it works on my Windows PC no issues at all I'm using YogaDNS, and on Android I'm using Intra, both have no issues, it's only on iOS, I tried doing it with Profile Configuration and also using DNSecure, but this issue is only happening on iOS, I tested on iOS 26.4.2, on both iPhone 11 and iPhone 12

MohandL3G avatar May 09 '26 17:05 MohandL3G

as of now I changed the default Upstream DNS from the default one to Cloudflare and didn't have this issue since this morning, I have to test it for few more days.

MohandL3G avatar May 11 '26 16:05 MohandL3G

@MohandL3G Is everything working now?

sofvaskina avatar May 25 '26 09:05 sofvaskina

@MohandL3G Is everything working now?

Yes, everything is working.

MohandL3G avatar May 25 '26 09:05 MohandL3G