mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-30 05:56:54 -05:00
21 lines
664 B
Protocol Buffer
21 lines
664 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package v2ray.core.proxy.dns;
|
|
option csharp_namespace = "V2Ray.Core.Proxy.Dns";
|
|
option go_package = "github.com/v2fly/v2ray-core/v4/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;
|
|
}
|
|
|
|
message SimplifiedConfig {
|
|
option (v2ray.core.common.protoext.message_opt).type = "outbound";
|
|
option (v2ray.core.common.protoext.message_opt).short_name = "dns";
|
|
} |