Add domain strategy for dns outbound

This commit is contained in:
hmol233
2021-05-03 21:45:21 +08:00
parent 2e56fe11e1
commit 4a4e160a54
6 changed files with 133 additions and 31 deletions
+6
View File
@@ -12,4 +12,10 @@ message Config {
// Server is the DNS server address. If specified, this address overrides the
// original one.
xray.common.net.Endpoint server = 1;
enum DomainStrategy {
USE_ALL = 0;
USE_IP = 1;
USE_FAKE = 2;
}
DomainStrategy domain_strategy = 2;
}