Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does iOS support only one DoH config? #29

Closed
derekwei opened this issue Jan 18, 2021 · 8 comments
Closed

Does iOS support only one DoH config? #29

derekwei opened this issue Jan 18, 2021 · 8 comments

Comments

@derekwei
Copy link

iOS 14.3 on iPhone 8
When I installed a new DoH config the existed one disappeared. I want to know whether the system support only ONE DoH setting? Thank you.

@paulmillr
Copy link
Owner

yes

@Tugzrida
Copy link

I was just having a look at this, and it does support multiple at a time. The issue is just with the profile.

The catch is that both the PayloadUUID and PayloadIdentifier at the end of the profile must be unique. It looks like you've got the UUID unique already, but they all have the same identifier of com.paulmillr.apple-dns.

If you want I can open a PR making them unique :)

@paulmillr
Copy link
Owner

I don't understand. How is that supposed to work, when you have two servers specified?

@paulmillr
Copy link
Owner

Did you actually test this e.g. did you monitor the traffic? Or you only saw that iOS can contain two profiles at the same time

@Tugzrida
Copy link

No perhaps I phrased it poorly. At the moment, if you try to install more than one of your profiles, it will remove any other one as they all have the same identifier.

If you change them to have unique identifiers, then you can install multiple profiles at once and change between the DNS server as you wish under the iOS "VPN & Network" settings.

It doesn't use two at once, just lists multiple ones for you to choose from.

@paulmillr
Copy link
Owner

Yeah, that's a feature. If I install Google DNS, I don't want Cloudflare anymore. The "profile selection" you're talking about can simply be emulated by visiting the GitHub page and clicking on a corresponding profile.

@Tugzrida
Copy link

Tugzrida commented Mar 22, 2021

Well you could use that to change providers, but that requires opening the repo every time.

Having multiple ready to go and just switching in the iOS settings is way more convenient:

IMG_49D5A9AAFEFF-1

If you want, then you can pull my fork which has unique identifiers now. Otherwise, I'll just leave it there for anyone else interested.

@paulmillr
Copy link
Owner

Thanks Cameron!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants