mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-10-17 13:04:05 +00:00
https://github.com/XTLS/Xray-core/pull/7103#issuecomment-6118333973 https://github.com/XTLS/Xray-core/pull/7140#issuecomment-6161808702 https://github.com/XTLS/Xray-core/pull/7140#issuecomment-6167254749 https://github.com/XTLS/Xray-core/pull/7140#issuecomment-6185965142 https://github.com/XTLS/Xray-core/pull/7140#issuecomment-6200775375
33 lines
905 B
Protocol Buffer
33 lines
905 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package xray.transport.internet.finalmask.xdns;
|
|
option csharp_namespace = "Xray.Transport.Internet.Finalmask.Xdns";
|
|
option go_package = "github.com/xtls/xray-core/transport/internet/finalmask/xdns";
|
|
option java_package = "com.xray.transport.internet.finalmask.xdns";
|
|
option java_multiple_files = true;
|
|
|
|
import "common/serial/typed_message.proto";
|
|
import "transport/internet/tls/config.proto";
|
|
import "transport/internet/config.proto";
|
|
|
|
message DomainProto {
|
|
string name = 1;
|
|
int32 len_limit = 2;
|
|
int32 label_limit = 3;
|
|
repeated int32 types = 4;
|
|
int32 edns0 = 5;
|
|
}
|
|
|
|
message ResolverProto {
|
|
string type = 1;
|
|
string addr = 2;
|
|
int32 worker = 3;
|
|
xray.transport.internet.tls.Config tls_config = 4;
|
|
xray.transport.internet.QuicParams quic_config = 5;
|
|
}
|
|
|
|
message Config {
|
|
repeated DomainProto domains = 1;
|
|
repeated ResolverProto resolvers = 2;
|
|
int32 extra_poll = 3;
|
|
} |