Commit Graph
53 Commits
Author SHA1 Message Date
VigilansandGitHub 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
VigilansandGitHub 5604863859 DNS: Support specifying domain matcher (#1979) 2022-11-30 14:34:24 +08:00
VigilansandGitHub d3b50bb989 Feat: [app/dns] Support per-client configuration (#1977)
* DNS: Support per-client configuration

* Add deprecated feature warnings for `skipFallback`, `disableCache`, `disableFallback`, `disableFallbackIfMatch`
2022-11-30 08:43:39 +08:00
Shelikhoo 137cd7093c chore: regenerate protobuf file 2022-09-06 20:36:27 +01:00
Shelikhoo 3ef7feaeaf update version: auto replacement to v5 path 2022-01-02 15:16:23 +00:00
世界andShelikhoo f383f896ed Add disableFallbackIfMatch dns option 2021-09-27 22:10:54 +01:00
Shelikhoo 6dc2dfb6c7 use custom loading rules for dns 2021-09-10 20:35:02 +01:00
Shelikhoo 68f28b1913 refactor common router structure into separate package 2021-09-07 09:13:58 +01:00
Shelikhoo cbdb3113a3 fix dns register as log 2021-09-07 08:05:18 +01:00
Shelikhoo b819ac60b9 added simplified config for dns and router 2021-09-06 22:34:28 +01:00
Shelikhoo e0700ccc4b regenerate protobuf file 2021-09-04 11:26:13 +01:00
Shelikhoo 1531cb0ca4 update protobuf version 2021-09-04 11:13:51 +01:00
database64128andGitHub 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
Shelikhoo 1409be04c2 regenerate protobuf files 2021-07-01 18:58:48 +01:00
LoyalsoldierandGitHub 47bbb5a3de Fix: DNS hosts proxied domain priority (#886) 2021-04-11 11:52:12 +08:00
LoyalsoldierandGitHub 3f40089caf Feat: add disableFallback & skipFallback option for DNS (#864) 2021-04-09 10:35:26 +08:00
LoyalsoldierandGitHub e6aaa57def Feat: add queryStrategy option for DNS (#794) 2021-03-19 15:55:18 +08:00
LoyalsoldierandGitHub 9e9173acb4 Chore: update protobuf & dependencies (#793)
* Chore: update protobuf
* Chore: regenerate mock files
* Chore: update dependencies
* Chore: use Go v1.16.2 and later
2021-03-18 12:17:26 +08:00
LoyalsoldierandGitHub e03947e6b0 Chore: update protobuf & dependencies (#748) 2021-03-08 05:12:27 +08:00
LoyalsoldierandGitHub 49cf614346 Chore: update dependencies & protobuf (#728) 2021-03-03 17:31:53 +08:00
7ebf3afc31 Feat: add disableCache option for DNS (#705)
Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2021-02-24 16:03:50 +08:00
LoyalsoldierandGitHub f94dd11a8c Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
LoyalsoldierandGitHub f98944c9e0 Chore: update protobuf (#670) 2021-02-11 14:57:20 +08:00
LoyalsoldierandGitHub 166d1afee5 DNS: add clientip for specific nameserver (#504) 2020-12-12 07:15:29 +08:00
LoyalsoldierandGitHub bb44d01096 Format proto files using clang-format according to google style (#264)
* Format proto files using clang-format according to google style
* Regenerate pb.go files
2020-10-05 08:36:40 +08:00
LoyalsoldierandGitHub ef460f68f8 Adjust Protocol Buffers (#109)
* Update protoc binary executable files to v3.13.0

* Write proto files in more standard way

* Make go generate & vprotogen compatible with protoc-gen-gofast

* Regenerate pb.go files according to new proto files

* Clean go.sum by running go mod tidy

* Implement mustEmbedUnimplementedServiceServer for gPRC services
2020-08-24 12:10:26 +00:00
Vigilans dfeaef75e7 Refactor DNS Server to record original rule of domain matchers 2020-08-16 22:18:12 +08:00
Shelikhoo 09b81b78c3 regenerate pb data 2020-06-08 16:16:32 +08:00
weaving118 101f5d32fa add ip match feature for dns 2019-11-18 23:48:42 +08:00
Darien Raymond ffb3793b26 support domain to domain mapping in static host 2019-01-30 21:04:29 +01:00
Darien Raymond 44d87ed642 inbound tag for dns requests 2019-01-16 20:32:41 +01:00
Darien Raymond 057e271588 update proto lib 2018-12-01 17:39:51 +01:00
Darien Raymond 00ea6e3cb2 update protobuf generated files 2018-09-30 18:39:28 +02:00
Darien Raymond 5649c7ba2d support regex domain type in dns 2018-09-19 16:10:42 +02:00
Darien Raymond 383b84e7dd unified tproxy option 2018-09-17 15:12:58 +02:00
Darien Raymond d068f357bd update proto lib 2018-09-14 11:00:59 +02:00
Darien Raymond f227e85b54 support per-domain prioritized name server 2018-08-24 21:51:03 +02:00
Darien Raymond 4b63638dca update protobuf lib 2018-07-25 00:36:28 +02:00
Darien Raymond 4477e7436b simplify client ip design 2018-06-26 23:23:59 +02:00
Darien Raymond d5f7728acd support subdomain matching in dns hosts 2018-06-26 22:34:05 +02:00
Darien Raymond e9e9de55ac support client subnet 2018-06-26 17:14:51 +02:00
Darien Raymond 68da956fc4 re-generate code 2018-05-25 11:56:01 +02:00
Darien Raymond 2e5cb82790 update proto 2017-04-04 12:28:14 +02:00
Darien Raymond b5d14b6823 update java options 2017-02-03 23:15:10 +01:00
Darien Raymond c9a421fba6 remove generate package comments in .pb.go files. 2017-01-03 14:17:44 +01:00
Darien Raymond 20fe6d10a4 rollback gitignore change 2017-01-02 20:52:45 +01:00
Darien Raymond 52e1dfaeac remove all generated files 2017-01-02 08:15:31 +01:00
Darien Raymond 7dc7937443 rename ws to websocket 2016-12-23 00:30:46 +01:00
Darien Raymond e13c97d162 rename IP to CIDR in router 2016-10-18 16:42:22 +02:00
Darien Raymond be026870f7 protogen update 2016-10-16 00:23:27 +02:00