mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-19 22:58:03 +03:00
Merge branch 'dns' into dns-geo
This commit is contained in:
@ -68,6 +68,7 @@ func TestDNSConfigParsing(t *testing.T) {
|
||||
Input: `{
|
||||
"servers": [{
|
||||
"address": "8.8.8.8",
|
||||
"clientIp": "10.0.0.1",
|
||||
"port": 5353,
|
||||
"domains": ["domain:example.com"]
|
||||
}],
|
||||
@ -95,6 +96,7 @@ func TestDNSConfigParsing(t *testing.T) {
|
||||
Network: net.Network_UDP,
|
||||
Port: 5353,
|
||||
},
|
||||
ClientIp: []byte{10, 0, 0, 1},
|
||||
PrioritizedDomain: []*domain.Domain{
|
||||
{
|
||||
Type: domain.MatchingType_Subdomain,
|
||||
|
Reference in New Issue
Block a user