0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-06-18 14:19:48 +03:00

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

View File

@ -94,6 +94,12 @@ var (
d.FakeEnable = true
return d
}
LookupFakeOnly = func(d *IPOption) *IPOption {
d.FakeEnable = true
d.IPv4Enable = false
d.IPv6Enable = false
return d
}
LookupNoFake = func(d *IPOption) *IPOption {
d.FakeEnable = false
return d