Hunter0x7c7
2022-08-11 a82f9cb69f63aaeba40c024960deda7d75b9fece
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
syntax = "proto3";
 
package v2ray.core.proxy.dns;
option csharp_namespace = "V2Ray.Core.Proxy.Dns";
option go_package = "github.com/v2fly/v2ray-core/v5/proxy/dns";
option java_package = "com.v2ray.core.proxy.dns";
option java_multiple_files = true;
 
import "common/net/destination.proto";
import "common/protoext/extensions.proto";
 
message Config {
  // Server is the DNS server address. If specified, this address overrides the
  // original one.
  v2ray.core.common.net.Endpoint server = 1;
  uint32 user_level = 2;
}
 
message SimplifiedConfig {
  option (v2ray.core.common.protoext.message_opt).type = "outbound";
  option (v2ray.core.common.protoext.message_opt).short_name = "dns";
}