mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-10-28 14:07:17 +00:00
https://github.com/XTLS/Xray-core/pull/6718#issuecomment-5894987590 Fixes https://github.com/XTLS/Xray-core/issues/6692
31 lines
741 B
Protocol Buffer
31 lines
741 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";
|
|
|
|
message DomainProto {
|
|
string name = 1;
|
|
int32 len_limit = 2;
|
|
int32 label_limit = 3;
|
|
repeated int32 types = 4;
|
|
int32 edns0 = 5;
|
|
}
|
|
|
|
message Config {
|
|
repeated DomainProto domains = 1;
|
|
repeated xray.common.serial.TypedMessage resolvers = 2;
|
|
int32 extra_poll = 3;
|
|
}
|
|
|
|
message TCPResolverProto {
|
|
string addr = 1;
|
|
}
|
|
|
|
message UDPResolverProto {
|
|
string addr = 1;
|
|
} |