mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-10-22 01:04:24 +00:00
https://github.com/XTLS/Xray-core/pull/7090#issuecomment-5989883544 https://github.com/XTLS/Xray-core/pull/7090#issuecomment-5988755551 https://github.com/XTLS/Xray-core/pull/7089#issuecomment-5987266008
28 lines
690 B
Protocol Buffer
28 lines
690 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 ResolverProto {
|
|
string type = 1;
|
|
string addr = 2;
|
|
}
|
|
|
|
message Config {
|
|
repeated DomainProto domains = 1;
|
|
repeated ResolverProto resolvers = 2;
|
|
int32 extra_poll = 3;
|
|
} |