envoy-mobile
envoy-mobile copied to clipboard
iOS: Add `includeUnroutableDNSResults` to engine builder
If set, the resolver will avoid the system's heuristics to only return IPv4 or IPv6 addresses that it considers to be "routable", instead returning all possible IPv4 or IPv6 addresses.
This setting is ignored if the DNS lookup family is set to v4-only or v6-only.
This may be a useful setting to specify if the addresses considered unroutable by the system's heuristics may in practice be routable.
We may want to enable this in combination with happy eyeballs.
Description: iOS: Add includeUnroutableFamilies to engine builder
Risk Level: Low, Apple-only, off by default
Testing: I've confirmed both branches of the code paths are hit when the flag is on and off on a physical iPhone. I will validate the behavioral changes next before merging. Unit tests in progress...
Docs Changes: In progress...
Release Notes: In progress...
To Do:
- [ ] Validate Behavior
- [ ] Unit / Integration Tests
- [ ] Docs
- [ ] Release Notes
Thanks for the review, @goaway although the most important part of this to review is the Envoy side: https://github.com/envoyproxy/envoy/pull/20527
Closing as stale now that we've migrated to the Envoy repo: https://github.com/envoyproxy/envoy/blob/main/mobile/README.md