Commit Graph
13 Commits
Author SHA1 Message Date
Vigilans f8ac919d66 [app/dns] Support per-client configuration for fakedns (#2212)
* Move `filterIP` from `hosts.go` to `dnscommon.go`

* Implement adding pools for fakedns.HolderMulti

* Implement per-client fakedns for DNS app

* Remove `dns.ClientWithIPOption` and replace with new programming model

* Implement JSON config support for new fakedns config

* Fix lint and tests

* Fix some codacy analysis
2022-12-15 10:38:28 +08:00
Shelikhoo 3ef7feaeaf update version: auto replacement to v5 path 2022-01-02 15:16:23 +00:00
Machtergreifung 25ae87aad2 fix typo (#1512)
* fix typo

* fix typo

* fix typo

* fix typo

* fix typo

* fix typo

* fic typo
2022-01-02 13:36:07 +00:00
Shelikhoo b8e81f01fa Reapply typo fix from becbc3a3e2 2021-09-04 11:54:34 +01:00
Jebbs b05a469488 v5: Remove v2ctl & wv2ray (rebased from 7c1ab06206) 2021-09-04 11:09:55 +01:00
database64128 c78ee5aac7 🏡 Housekeeping: Update to Go 1.17 (#1215)
* ⬆ Update to Go 1.17

* 🏗 Update workflows and add windows-arm64

* 💾 Update generated files

* 📛 Update not-so-friendly filenames
2021-08-21 13:20:40 +08:00
rurireiandloyalsoldier 73470e8dd8 DNS: fix typo & refine code (#1183)
Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2021-08-10 10:49:56 +08:00
Loyalsoldier 6f8979d017 Style: format code by gofumpt (#1022) 2021-05-20 05:28:52 +08:00
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
ghost 02b658cd2b revert broken dns changes 2020-01-01 10:23:14 +08:00
vcptr 59e3a2a67c add comments to exported func 2019-11-26 13:24:46 +08:00
vcptr 6ef77246ab add DOH dns client 2019-11-25 15:41:36 +08:00