2019-02-06 04:21:04 -05:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package v2ray.core.proxy.dns;
|
|
|
|
option csharp_namespace = "V2Ray.Core.Proxy.Dns";
|
2021-02-16 15:31:50 -05:00
|
|
|
option go_package = "github.com/v2fly/v2ray-core/v4/proxy/dns";
|
2019-02-06 04:21:04 -05:00
|
|
|
option java_package = "com.v2ray.core.proxy.dns";
|
|
|
|
option java_multiple_files = true;
|
|
|
|
|
2020-08-24 08:10:26 -04:00
|
|
|
import "common/net/destination.proto";
|
2021-09-05 11:28:36 -04:00
|
|
|
import "common/protoext/extensions.proto";
|
2019-02-12 16:34:43 -05:00
|
|
|
|
2019-02-06 04:21:04 -05:00
|
|
|
message Config {
|
2020-10-04 20:36:40 -04:00
|
|
|
// Server is the DNS server address. If specified, this address overrides the
|
|
|
|
// original one.
|
2019-02-12 16:34:43 -05:00
|
|
|
v2ray.core.common.net.Endpoint server = 1;
|
2019-02-06 04:21:04 -05:00
|
|
|
}
|
2021-09-05 11:28:36 -04:00
|
|
|
|
|
|
|
message SimplifiedConfig {
|
|
|
|
option (v2ray.core.common.protoext.message_opt).type = "outbound";
|
|
|
|
option (v2ray.core.common.protoext.message_opt).short_name = "dns";
|
|
|
|
}
|