2020-11-25 13:01:53 +02:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package xray.proxy.dns;
|
|
|
|
option csharp_namespace = "Xray.Proxy.Dns";
|
2020-12-04 03:36:16 +02:00
|
|
|
option go_package = "github.com/xtls/xray-core/proxy/dns";
|
2020-11-25 13:01:53 +02:00
|
|
|
option java_package = "com.xray.proxy.dns";
|
|
|
|
option java_multiple_files = true;
|
|
|
|
|
|
|
|
import "common/net/destination.proto";
|
|
|
|
|
|
|
|
message Config {
|
|
|
|
// Server is the DNS server address. If specified, this address overrides the
|
|
|
|
// original one.
|
|
|
|
xray.common.net.Endpoint server = 1;
|
2021-05-03 16:45:21 +03:00
|
|
|
enum DomainStrategy {
|
|
|
|
USE_ALL = 0;
|
|
|
|
USE_IP = 1;
|
|
|
|
USE_FAKE = 2;
|
|
|
|
}
|
|
|
|
DomainStrategy domain_strategy = 2;
|
2020-11-25 13:01:53 +02:00
|
|
|
}
|