diff --git a/infra/conf/dns_test.go b/infra/conf/dns_test.go index e99fbae15..df04a57d2 100644 --- a/infra/conf/dns_test.go +++ b/infra/conf/dns_test.go @@ -48,7 +48,6 @@ func TestDnsConfigParsing(t *testing.T) { }], "hosts": { "v2ray.com": "127.0.0.1", - "geosite:tld-cn": "10.0.0.1", "domain:example.com": "google.com" }, "clientIp": "10.0.0.1" @@ -80,16 +79,6 @@ func TestDnsConfigParsing(t *testing.T) { Domain: "example.com", ProxiedDomain: "google.com", }, - { - Type: dns.DomainMatchingType_Subdomain, - Domain: "cn", - Ip: [][]byte{{10, 0, 0, 1}}, - }, - { - Type: dns.DomainMatchingType_Subdomain, - Domain: "xn--fiqs8s", - Ip: [][]byte{{10, 0, 0, 1}}, - }, { Type: dns.DomainMatchingType_Full, Domain: "v2ray.com",