mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-03 20:07:36 +03:00
Add dns transports
This commit is contained in:
parent
81330d32e0
commit
651c4b539a
10 changed files with 910 additions and 3 deletions
11
constant/dns.go
Normal file
11
constant/dns.go
Normal file
|
@ -0,0 +1,11 @@
|
|||
package constant
|
||||
|
||||
type DomainStrategy = uint8
|
||||
|
||||
const (
|
||||
DomainStrategyAsIS DomainStrategy = iota
|
||||
DomainStrategyPreferIPv4
|
||||
DomainStrategyPreferIPv6
|
||||
DomainStrategyUseIPv4
|
||||
DomainStrategyUseIPv6
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue