Commit Graph
9 Commits
Author SHA1 Message Date
yuhan6665andloyalsoldier afb8385a7e Feat: routing and freedom outbound ignore Fake DNS (#696)
Turn off fake DNS for request sent from Routing and Freedom outbound.
Fake DNS now only apply to DNS outbound.
This is important for Android, where VPN service take over all system DNS
traffic and pass it to core.  "UseIp" option can be used in Freedom outbound
to avoid getting fake IP and fail connection.

Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2021-02-23 10:17:20 +08:00
Loyalsoldier f94dd11a8c Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
Darien Raymond 9957c64b4a correctly propagate dns errors all the way through.
the internal dns system can correctly handle the cases where:
1) domain has no A or AAAA records
2) domain doesn't exist
fixes #1565
2019-02-21 13:43:48 +01:00
Darien Raymond 6b355ef461 fix a typo in local dns 2018-12-06 21:34:05 +01:00
Darien Raymond 21b3f66b8b fix IP parsing in local dns client 2018-12-06 20:11:45 +01:00
Darien Raymond 4104a86b6c use default dns resolver to prevent errors in android 2018-12-05 15:48:40 +01:00
Darien Raymond 480175691c comment 2018-11-22 22:49:45 +01:00
Darien Raymond 39a092b178 fix #1427 2018-11-22 19:07:49 +01:00
Darien Raymond bb1efdebd1 support querying either IPv4 or IPv6 dns 2018-11-19 20:42:02 +01:00