config.pb.go 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.27.1
  4. // protoc v3.15.6
  5. // source: app/dns/config.proto
  6. package dns
  7. import (
  8. router "github.com/v2fly/v2ray-core/v4/app/router"
  9. net "github.com/v2fly/v2ray-core/v4/common/net"
  10. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  11. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  12. reflect "reflect"
  13. sync "sync"
  14. )
  15. const (
  16. // Verify that this generated code is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  18. // Verify that runtime/protoimpl is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  20. )
  21. type DomainMatchingType int32
  22. const (
  23. DomainMatchingType_Full DomainMatchingType = 0
  24. DomainMatchingType_Subdomain DomainMatchingType = 1
  25. DomainMatchingType_Keyword DomainMatchingType = 2
  26. DomainMatchingType_Regex DomainMatchingType = 3
  27. )
  28. // Enum value maps for DomainMatchingType.
  29. var (
  30. DomainMatchingType_name = map[int32]string{
  31. 0: "Full",
  32. 1: "Subdomain",
  33. 2: "Keyword",
  34. 3: "Regex",
  35. }
  36. DomainMatchingType_value = map[string]int32{
  37. "Full": 0,
  38. "Subdomain": 1,
  39. "Keyword": 2,
  40. "Regex": 3,
  41. }
  42. )
  43. func (x DomainMatchingType) Enum() *DomainMatchingType {
  44. p := new(DomainMatchingType)
  45. *p = x
  46. return p
  47. }
  48. func (x DomainMatchingType) String() string {
  49. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  50. }
  51. func (DomainMatchingType) Descriptor() protoreflect.EnumDescriptor {
  52. return file_app_dns_config_proto_enumTypes[0].Descriptor()
  53. }
  54. func (DomainMatchingType) Type() protoreflect.EnumType {
  55. return &file_app_dns_config_proto_enumTypes[0]
  56. }
  57. func (x DomainMatchingType) Number() protoreflect.EnumNumber {
  58. return protoreflect.EnumNumber(x)
  59. }
  60. // Deprecated: Use DomainMatchingType.Descriptor instead.
  61. func (DomainMatchingType) EnumDescriptor() ([]byte, []int) {
  62. return file_app_dns_config_proto_rawDescGZIP(), []int{0}
  63. }
  64. type QueryStrategy int32
  65. const (
  66. QueryStrategy_USE_IP QueryStrategy = 0
  67. QueryStrategy_USE_IP4 QueryStrategy = 1
  68. QueryStrategy_USE_IP6 QueryStrategy = 2
  69. )
  70. // Enum value maps for QueryStrategy.
  71. var (
  72. QueryStrategy_name = map[int32]string{
  73. 0: "USE_IP",
  74. 1: "USE_IP4",
  75. 2: "USE_IP6",
  76. }
  77. QueryStrategy_value = map[string]int32{
  78. "USE_IP": 0,
  79. "USE_IP4": 1,
  80. "USE_IP6": 2,
  81. }
  82. )
  83. func (x QueryStrategy) Enum() *QueryStrategy {
  84. p := new(QueryStrategy)
  85. *p = x
  86. return p
  87. }
  88. func (x QueryStrategy) String() string {
  89. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  90. }
  91. func (QueryStrategy) Descriptor() protoreflect.EnumDescriptor {
  92. return file_app_dns_config_proto_enumTypes[1].Descriptor()
  93. }
  94. func (QueryStrategy) Type() protoreflect.EnumType {
  95. return &file_app_dns_config_proto_enumTypes[1]
  96. }
  97. func (x QueryStrategy) Number() protoreflect.EnumNumber {
  98. return protoreflect.EnumNumber(x)
  99. }
  100. // Deprecated: Use QueryStrategy.Descriptor instead.
  101. func (QueryStrategy) EnumDescriptor() ([]byte, []int) {
  102. return file_app_dns_config_proto_rawDescGZIP(), []int{1}
  103. }
  104. type NameServer struct {
  105. state protoimpl.MessageState
  106. sizeCache protoimpl.SizeCache
  107. unknownFields protoimpl.UnknownFields
  108. Address *net.Endpoint `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
  109. ClientIp []byte `protobuf:"bytes,5,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"`
  110. SkipFallback bool `protobuf:"varint,6,opt,name=skipFallback,proto3" json:"skipFallback,omitempty"`
  111. PrioritizedDomain []*NameServer_PriorityDomain `protobuf:"bytes,2,rep,name=prioritized_domain,json=prioritizedDomain,proto3" json:"prioritized_domain,omitempty"`
  112. Geoip []*router.GeoIP `protobuf:"bytes,3,rep,name=geoip,proto3" json:"geoip,omitempty"`
  113. OriginalRules []*NameServer_OriginalRule `protobuf:"bytes,4,rep,name=original_rules,json=originalRules,proto3" json:"original_rules,omitempty"`
  114. }
  115. func (x *NameServer) Reset() {
  116. *x = NameServer{}
  117. if protoimpl.UnsafeEnabled {
  118. mi := &file_app_dns_config_proto_msgTypes[0]
  119. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  120. ms.StoreMessageInfo(mi)
  121. }
  122. }
  123. func (x *NameServer) String() string {
  124. return protoimpl.X.MessageStringOf(x)
  125. }
  126. func (*NameServer) ProtoMessage() {}
  127. func (x *NameServer) ProtoReflect() protoreflect.Message {
  128. mi := &file_app_dns_config_proto_msgTypes[0]
  129. if protoimpl.UnsafeEnabled && x != nil {
  130. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  131. if ms.LoadMessageInfo() == nil {
  132. ms.StoreMessageInfo(mi)
  133. }
  134. return ms
  135. }
  136. return mi.MessageOf(x)
  137. }
  138. // Deprecated: Use NameServer.ProtoReflect.Descriptor instead.
  139. func (*NameServer) Descriptor() ([]byte, []int) {
  140. return file_app_dns_config_proto_rawDescGZIP(), []int{0}
  141. }
  142. func (x *NameServer) GetAddress() *net.Endpoint {
  143. if x != nil {
  144. return x.Address
  145. }
  146. return nil
  147. }
  148. func (x *NameServer) GetClientIp() []byte {
  149. if x != nil {
  150. return x.ClientIp
  151. }
  152. return nil
  153. }
  154. func (x *NameServer) GetSkipFallback() bool {
  155. if x != nil {
  156. return x.SkipFallback
  157. }
  158. return false
  159. }
  160. func (x *NameServer) GetPrioritizedDomain() []*NameServer_PriorityDomain {
  161. if x != nil {
  162. return x.PrioritizedDomain
  163. }
  164. return nil
  165. }
  166. func (x *NameServer) GetGeoip() []*router.GeoIP {
  167. if x != nil {
  168. return x.Geoip
  169. }
  170. return nil
  171. }
  172. func (x *NameServer) GetOriginalRules() []*NameServer_OriginalRule {
  173. if x != nil {
  174. return x.OriginalRules
  175. }
  176. return nil
  177. }
  178. type Config struct {
  179. state protoimpl.MessageState
  180. sizeCache protoimpl.SizeCache
  181. unknownFields protoimpl.UnknownFields
  182. // Nameservers used by this DNS. Only traditional UDP servers are support at
  183. // the moment. A special value 'localhost' as a domain address can be set to
  184. // use DNS on local system.
  185. //
  186. // Deprecated: Do not use.
  187. NameServers []*net.Endpoint `protobuf:"bytes,1,rep,name=NameServers,proto3" json:"NameServers,omitempty"`
  188. // NameServer list used by this DNS client.
  189. NameServer []*NameServer `protobuf:"bytes,5,rep,name=name_server,json=nameServer,proto3" json:"name_server,omitempty"`
  190. // Static hosts. Domain to IP.
  191. // Deprecated. Use static_hosts.
  192. //
  193. // Deprecated: Do not use.
  194. Hosts map[string]*net.IPOrDomain `protobuf:"bytes,2,rep,name=Hosts,proto3" json:"Hosts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  195. // Client IP for EDNS client subnet. Must be 4 bytes (IPv4) or 16 bytes
  196. // (IPv6).
  197. ClientIp []byte `protobuf:"bytes,3,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"`
  198. StaticHosts []*Config_HostMapping `protobuf:"bytes,4,rep,name=static_hosts,json=staticHosts,proto3" json:"static_hosts,omitempty"`
  199. // Tag is the inbound tag of DNS client.
  200. Tag string `protobuf:"bytes,6,opt,name=tag,proto3" json:"tag,omitempty"`
  201. // DisableCache disables DNS cache
  202. DisableCache bool `protobuf:"varint,8,opt,name=disableCache,proto3" json:"disableCache,omitempty"`
  203. QueryStrategy QueryStrategy `protobuf:"varint,9,opt,name=query_strategy,json=queryStrategy,proto3,enum=v2ray.core.app.dns.QueryStrategy" json:"query_strategy,omitempty"`
  204. DisableFallback bool `protobuf:"varint,10,opt,name=disableFallback,proto3" json:"disableFallback,omitempty"`
  205. }
  206. func (x *Config) Reset() {
  207. *x = Config{}
  208. if protoimpl.UnsafeEnabled {
  209. mi := &file_app_dns_config_proto_msgTypes[1]
  210. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  211. ms.StoreMessageInfo(mi)
  212. }
  213. }
  214. func (x *Config) String() string {
  215. return protoimpl.X.MessageStringOf(x)
  216. }
  217. func (*Config) ProtoMessage() {}
  218. func (x *Config) ProtoReflect() protoreflect.Message {
  219. mi := &file_app_dns_config_proto_msgTypes[1]
  220. if protoimpl.UnsafeEnabled && x != nil {
  221. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  222. if ms.LoadMessageInfo() == nil {
  223. ms.StoreMessageInfo(mi)
  224. }
  225. return ms
  226. }
  227. return mi.MessageOf(x)
  228. }
  229. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  230. func (*Config) Descriptor() ([]byte, []int) {
  231. return file_app_dns_config_proto_rawDescGZIP(), []int{1}
  232. }
  233. // Deprecated: Do not use.
  234. func (x *Config) GetNameServers() []*net.Endpoint {
  235. if x != nil {
  236. return x.NameServers
  237. }
  238. return nil
  239. }
  240. func (x *Config) GetNameServer() []*NameServer {
  241. if x != nil {
  242. return x.NameServer
  243. }
  244. return nil
  245. }
  246. // Deprecated: Do not use.
  247. func (x *Config) GetHosts() map[string]*net.IPOrDomain {
  248. if x != nil {
  249. return x.Hosts
  250. }
  251. return nil
  252. }
  253. func (x *Config) GetClientIp() []byte {
  254. if x != nil {
  255. return x.ClientIp
  256. }
  257. return nil
  258. }
  259. func (x *Config) GetStaticHosts() []*Config_HostMapping {
  260. if x != nil {
  261. return x.StaticHosts
  262. }
  263. return nil
  264. }
  265. func (x *Config) GetTag() string {
  266. if x != nil {
  267. return x.Tag
  268. }
  269. return ""
  270. }
  271. func (x *Config) GetDisableCache() bool {
  272. if x != nil {
  273. return x.DisableCache
  274. }
  275. return false
  276. }
  277. func (x *Config) GetQueryStrategy() QueryStrategy {
  278. if x != nil {
  279. return x.QueryStrategy
  280. }
  281. return QueryStrategy_USE_IP
  282. }
  283. func (x *Config) GetDisableFallback() bool {
  284. if x != nil {
  285. return x.DisableFallback
  286. }
  287. return false
  288. }
  289. type NameServer_PriorityDomain struct {
  290. state protoimpl.MessageState
  291. sizeCache protoimpl.SizeCache
  292. unknownFields protoimpl.UnknownFields
  293. Type DomainMatchingType `protobuf:"varint,1,opt,name=type,proto3,enum=v2ray.core.app.dns.DomainMatchingType" json:"type,omitempty"`
  294. Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
  295. }
  296. func (x *NameServer_PriorityDomain) Reset() {
  297. *x = NameServer_PriorityDomain{}
  298. if protoimpl.UnsafeEnabled {
  299. mi := &file_app_dns_config_proto_msgTypes[2]
  300. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  301. ms.StoreMessageInfo(mi)
  302. }
  303. }
  304. func (x *NameServer_PriorityDomain) String() string {
  305. return protoimpl.X.MessageStringOf(x)
  306. }
  307. func (*NameServer_PriorityDomain) ProtoMessage() {}
  308. func (x *NameServer_PriorityDomain) ProtoReflect() protoreflect.Message {
  309. mi := &file_app_dns_config_proto_msgTypes[2]
  310. if protoimpl.UnsafeEnabled && x != nil {
  311. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  312. if ms.LoadMessageInfo() == nil {
  313. ms.StoreMessageInfo(mi)
  314. }
  315. return ms
  316. }
  317. return mi.MessageOf(x)
  318. }
  319. // Deprecated: Use NameServer_PriorityDomain.ProtoReflect.Descriptor instead.
  320. func (*NameServer_PriorityDomain) Descriptor() ([]byte, []int) {
  321. return file_app_dns_config_proto_rawDescGZIP(), []int{0, 0}
  322. }
  323. func (x *NameServer_PriorityDomain) GetType() DomainMatchingType {
  324. if x != nil {
  325. return x.Type
  326. }
  327. return DomainMatchingType_Full
  328. }
  329. func (x *NameServer_PriorityDomain) GetDomain() string {
  330. if x != nil {
  331. return x.Domain
  332. }
  333. return ""
  334. }
  335. type NameServer_OriginalRule struct {
  336. state protoimpl.MessageState
  337. sizeCache protoimpl.SizeCache
  338. unknownFields protoimpl.UnknownFields
  339. Rule string `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"`
  340. Size uint32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
  341. }
  342. func (x *NameServer_OriginalRule) Reset() {
  343. *x = NameServer_OriginalRule{}
  344. if protoimpl.UnsafeEnabled {
  345. mi := &file_app_dns_config_proto_msgTypes[3]
  346. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  347. ms.StoreMessageInfo(mi)
  348. }
  349. }
  350. func (x *NameServer_OriginalRule) String() string {
  351. return protoimpl.X.MessageStringOf(x)
  352. }
  353. func (*NameServer_OriginalRule) ProtoMessage() {}
  354. func (x *NameServer_OriginalRule) ProtoReflect() protoreflect.Message {
  355. mi := &file_app_dns_config_proto_msgTypes[3]
  356. if protoimpl.UnsafeEnabled && x != nil {
  357. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  358. if ms.LoadMessageInfo() == nil {
  359. ms.StoreMessageInfo(mi)
  360. }
  361. return ms
  362. }
  363. return mi.MessageOf(x)
  364. }
  365. // Deprecated: Use NameServer_OriginalRule.ProtoReflect.Descriptor instead.
  366. func (*NameServer_OriginalRule) Descriptor() ([]byte, []int) {
  367. return file_app_dns_config_proto_rawDescGZIP(), []int{0, 1}
  368. }
  369. func (x *NameServer_OriginalRule) GetRule() string {
  370. if x != nil {
  371. return x.Rule
  372. }
  373. return ""
  374. }
  375. func (x *NameServer_OriginalRule) GetSize() uint32 {
  376. if x != nil {
  377. return x.Size
  378. }
  379. return 0
  380. }
  381. type Config_HostMapping struct {
  382. state protoimpl.MessageState
  383. sizeCache protoimpl.SizeCache
  384. unknownFields protoimpl.UnknownFields
  385. Type DomainMatchingType `protobuf:"varint,1,opt,name=type,proto3,enum=v2ray.core.app.dns.DomainMatchingType" json:"type,omitempty"`
  386. Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
  387. Ip [][]byte `protobuf:"bytes,3,rep,name=ip,proto3" json:"ip,omitempty"`
  388. // ProxiedDomain indicates the mapped domain has the same IP address on this
  389. // domain. V2Ray will use this domain for IP queries.
  390. ProxiedDomain string `protobuf:"bytes,4,opt,name=proxied_domain,json=proxiedDomain,proto3" json:"proxied_domain,omitempty"`
  391. }
  392. func (x *Config_HostMapping) Reset() {
  393. *x = Config_HostMapping{}
  394. if protoimpl.UnsafeEnabled {
  395. mi := &file_app_dns_config_proto_msgTypes[5]
  396. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  397. ms.StoreMessageInfo(mi)
  398. }
  399. }
  400. func (x *Config_HostMapping) String() string {
  401. return protoimpl.X.MessageStringOf(x)
  402. }
  403. func (*Config_HostMapping) ProtoMessage() {}
  404. func (x *Config_HostMapping) ProtoReflect() protoreflect.Message {
  405. mi := &file_app_dns_config_proto_msgTypes[5]
  406. if protoimpl.UnsafeEnabled && x != nil {
  407. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  408. if ms.LoadMessageInfo() == nil {
  409. ms.StoreMessageInfo(mi)
  410. }
  411. return ms
  412. }
  413. return mi.MessageOf(x)
  414. }
  415. // Deprecated: Use Config_HostMapping.ProtoReflect.Descriptor instead.
  416. func (*Config_HostMapping) Descriptor() ([]byte, []int) {
  417. return file_app_dns_config_proto_rawDescGZIP(), []int{1, 1}
  418. }
  419. func (x *Config_HostMapping) GetType() DomainMatchingType {
  420. if x != nil {
  421. return x.Type
  422. }
  423. return DomainMatchingType_Full
  424. }
  425. func (x *Config_HostMapping) GetDomain() string {
  426. if x != nil {
  427. return x.Domain
  428. }
  429. return ""
  430. }
  431. func (x *Config_HostMapping) GetIp() [][]byte {
  432. if x != nil {
  433. return x.Ip
  434. }
  435. return nil
  436. }
  437. func (x *Config_HostMapping) GetProxiedDomain() string {
  438. if x != nil {
  439. return x.ProxiedDomain
  440. }
  441. return ""
  442. }
  443. var File_app_dns_config_proto protoreflect.FileDescriptor
  444. var file_app_dns_config_proto_rawDesc = []byte{
  445. 0x0a, 0x14, 0x61, 0x70, 0x70, 0x2f, 0x64, 0x6e, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
  446. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
  447. 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x1a, 0x18, 0x63, 0x6f, 0x6d, 0x6d,
  448. 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70,
  449. 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74,
  450. 0x2f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
  451. 0x74, 0x6f, 0x1a, 0x17, 0x61, 0x70, 0x70, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2f, 0x63,
  452. 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x04, 0x0a, 0x0a,
  453. 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x39, 0x0a, 0x07, 0x61, 0x64,
  454. 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x32,
  455. 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
  456. 0x6e, 0x65, 0x74, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x07, 0x61, 0x64,
  457. 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f,
  458. 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
  459. 0x49, 0x70, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x6b, 0x69, 0x70, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61,
  460. 0x63, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x73, 0x6b, 0x69, 0x70, 0x46, 0x61,
  461. 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x5c, 0x0a, 0x12, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69,
  462. 0x74, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x03,
  463. 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
  464. 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76,
  465. 0x65, 0x72, 0x2e, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x44, 0x6f, 0x6d, 0x61, 0x69,
  466. 0x6e, 0x52, 0x11, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x7a, 0x65, 0x64, 0x44, 0x6f,
  467. 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x32, 0x0a, 0x05, 0x67, 0x65, 0x6f, 0x69, 0x70, 0x18, 0x03, 0x20,
  468. 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65,
  469. 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x6f, 0x49,
  470. 0x50, 0x52, 0x05, 0x67, 0x65, 0x6f, 0x69, 0x70, 0x12, 0x52, 0x0a, 0x0e, 0x6f, 0x72, 0x69, 0x67,
  471. 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
  472. 0x32, 0x2b, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70,
  473. 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
  474. 0x2e, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x0d, 0x6f,
  475. 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x1a, 0x64, 0x0a, 0x0e,
  476. 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x3a,
  477. 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x76,
  478. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e,
  479. 0x73, 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67,
  480. 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f,
  481. 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61,
  482. 0x69, 0x6e, 0x1a, 0x36, 0x0a, 0x0c, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x52, 0x75,
  483. 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  484. 0x52, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02,
  485. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0xe1, 0x05, 0x0a, 0x06, 0x43,
  486. 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x45, 0x0a, 0x0b, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72,
  487. 0x76, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x32, 0x72,
  488. 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e,
  489. 0x65, 0x74, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x42, 0x02, 0x18, 0x01, 0x52,
  490. 0x0b, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x12, 0x3f, 0x0a, 0x0b,
  491. 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x05, 0x20, 0x03, 0x28,
  492. 0x0b, 0x32, 0x1e, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61,
  493. 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65,
  494. 0x72, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x3f, 0x0a,
  495. 0x05, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x76,
  496. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e,
  497. 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x45, 0x6e,
  498. 0x74, 0x72, 0x79, 0x42, 0x02, 0x18, 0x01, 0x52, 0x05, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x12, 0x1b,
  499. 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28,
  500. 0x0c, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x70, 0x12, 0x49, 0x0a, 0x0c, 0x73,
  501. 0x74, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28,
  502. 0x0b, 0x32, 0x26, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61,
  503. 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x48, 0x6f,
  504. 0x73, 0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x69,
  505. 0x63, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x06, 0x20,
  506. 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x61,
  507. 0x62, 0x6c, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c,
  508. 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x12, 0x48, 0x0a, 0x0e,
  509. 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x09,
  510. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
  511. 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53,
  512. 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x0d, 0x71, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74,
  513. 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c,
  514. 0x65, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52,
  515. 0x0f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b,
  516. 0x1a, 0x5b, 0x0a, 0x0a, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
  517. 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
  518. 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
  519. 0x21, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
  520. 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x49, 0x50, 0x4f, 0x72, 0x44, 0x6f, 0x6d, 0x61,
  521. 0x69, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x98, 0x01,
  522. 0x0a, 0x0b, 0x48, 0x6f, 0x73, 0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x3a, 0x0a,
  523. 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x76, 0x32,
  524. 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73,
  525. 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x54,
  526. 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d,
  527. 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69,
  528. 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x02, 0x69,
  529. 0x70, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x78, 0x69, 0x65, 0x64, 0x5f, 0x64, 0x6f, 0x6d,
  530. 0x61, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x78, 0x69,
  531. 0x65, 0x64, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x2a, 0x45,
  532. 0x0a, 0x12, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67,
  533. 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x75, 0x6c, 0x6c, 0x10, 0x00, 0x12, 0x0d,
  534. 0x0a, 0x09, 0x53, 0x75, 0x62, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x10, 0x01, 0x12, 0x0b, 0x0a,
  535. 0x07, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x65,
  536. 0x67, 0x65, 0x78, 0x10, 0x03, 0x2a, 0x35, 0x0a, 0x0d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74,
  537. 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x53, 0x45, 0x5f, 0x49, 0x50,
  538. 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x53, 0x45, 0x5f, 0x49, 0x50, 0x34, 0x10, 0x01, 0x12,
  539. 0x0b, 0x0a, 0x07, 0x55, 0x53, 0x45, 0x5f, 0x49, 0x50, 0x36, 0x10, 0x02, 0x42, 0x57, 0x0a, 0x16,
  540. 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61,
  541. 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x50, 0x01, 0x5a, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
  542. 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79,
  543. 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x64, 0x6e, 0x73,
  544. 0xaa, 0x02, 0x12, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70,
  545. 0x70, 0x2e, 0x44, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  546. }
  547. var (
  548. file_app_dns_config_proto_rawDescOnce sync.Once
  549. file_app_dns_config_proto_rawDescData = file_app_dns_config_proto_rawDesc
  550. )
  551. func file_app_dns_config_proto_rawDescGZIP() []byte {
  552. file_app_dns_config_proto_rawDescOnce.Do(func() {
  553. file_app_dns_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_dns_config_proto_rawDescData)
  554. })
  555. return file_app_dns_config_proto_rawDescData
  556. }
  557. var file_app_dns_config_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  558. var file_app_dns_config_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
  559. var file_app_dns_config_proto_goTypes = []interface{}{
  560. (DomainMatchingType)(0), // 0: v2ray.core.app.dns.DomainMatchingType
  561. (QueryStrategy)(0), // 1: v2ray.core.app.dns.QueryStrategy
  562. (*NameServer)(nil), // 2: v2ray.core.app.dns.NameServer
  563. (*Config)(nil), // 3: v2ray.core.app.dns.Config
  564. (*NameServer_PriorityDomain)(nil), // 4: v2ray.core.app.dns.NameServer.PriorityDomain
  565. (*NameServer_OriginalRule)(nil), // 5: v2ray.core.app.dns.NameServer.OriginalRule
  566. nil, // 6: v2ray.core.app.dns.Config.HostsEntry
  567. (*Config_HostMapping)(nil), // 7: v2ray.core.app.dns.Config.HostMapping
  568. (*net.Endpoint)(nil), // 8: v2ray.core.common.net.Endpoint
  569. (*router.GeoIP)(nil), // 9: v2ray.core.app.router.GeoIP
  570. (*net.IPOrDomain)(nil), // 10: v2ray.core.common.net.IPOrDomain
  571. }
  572. var file_app_dns_config_proto_depIdxs = []int32{
  573. 8, // 0: v2ray.core.app.dns.NameServer.address:type_name -> v2ray.core.common.net.Endpoint
  574. 4, // 1: v2ray.core.app.dns.NameServer.prioritized_domain:type_name -> v2ray.core.app.dns.NameServer.PriorityDomain
  575. 9, // 2: v2ray.core.app.dns.NameServer.geoip:type_name -> v2ray.core.app.router.GeoIP
  576. 5, // 3: v2ray.core.app.dns.NameServer.original_rules:type_name -> v2ray.core.app.dns.NameServer.OriginalRule
  577. 8, // 4: v2ray.core.app.dns.Config.NameServers:type_name -> v2ray.core.common.net.Endpoint
  578. 2, // 5: v2ray.core.app.dns.Config.name_server:type_name -> v2ray.core.app.dns.NameServer
  579. 6, // 6: v2ray.core.app.dns.Config.Hosts:type_name -> v2ray.core.app.dns.Config.HostsEntry
  580. 7, // 7: v2ray.core.app.dns.Config.static_hosts:type_name -> v2ray.core.app.dns.Config.HostMapping
  581. 1, // 8: v2ray.core.app.dns.Config.query_strategy:type_name -> v2ray.core.app.dns.QueryStrategy
  582. 0, // 9: v2ray.core.app.dns.NameServer.PriorityDomain.type:type_name -> v2ray.core.app.dns.DomainMatchingType
  583. 10, // 10: v2ray.core.app.dns.Config.HostsEntry.value:type_name -> v2ray.core.common.net.IPOrDomain
  584. 0, // 11: v2ray.core.app.dns.Config.HostMapping.type:type_name -> v2ray.core.app.dns.DomainMatchingType
  585. 12, // [12:12] is the sub-list for method output_type
  586. 12, // [12:12] is the sub-list for method input_type
  587. 12, // [12:12] is the sub-list for extension type_name
  588. 12, // [12:12] is the sub-list for extension extendee
  589. 0, // [0:12] is the sub-list for field type_name
  590. }
  591. func init() { file_app_dns_config_proto_init() }
  592. func file_app_dns_config_proto_init() {
  593. if File_app_dns_config_proto != nil {
  594. return
  595. }
  596. if !protoimpl.UnsafeEnabled {
  597. file_app_dns_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  598. switch v := v.(*NameServer); i {
  599. case 0:
  600. return &v.state
  601. case 1:
  602. return &v.sizeCache
  603. case 2:
  604. return &v.unknownFields
  605. default:
  606. return nil
  607. }
  608. }
  609. file_app_dns_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  610. switch v := v.(*Config); i {
  611. case 0:
  612. return &v.state
  613. case 1:
  614. return &v.sizeCache
  615. case 2:
  616. return &v.unknownFields
  617. default:
  618. return nil
  619. }
  620. }
  621. file_app_dns_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  622. switch v := v.(*NameServer_PriorityDomain); i {
  623. case 0:
  624. return &v.state
  625. case 1:
  626. return &v.sizeCache
  627. case 2:
  628. return &v.unknownFields
  629. default:
  630. return nil
  631. }
  632. }
  633. file_app_dns_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  634. switch v := v.(*NameServer_OriginalRule); i {
  635. case 0:
  636. return &v.state
  637. case 1:
  638. return &v.sizeCache
  639. case 2:
  640. return &v.unknownFields
  641. default:
  642. return nil
  643. }
  644. }
  645. file_app_dns_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  646. switch v := v.(*Config_HostMapping); i {
  647. case 0:
  648. return &v.state
  649. case 1:
  650. return &v.sizeCache
  651. case 2:
  652. return &v.unknownFields
  653. default:
  654. return nil
  655. }
  656. }
  657. }
  658. type x struct{}
  659. out := protoimpl.TypeBuilder{
  660. File: protoimpl.DescBuilder{
  661. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  662. RawDescriptor: file_app_dns_config_proto_rawDesc,
  663. NumEnums: 2,
  664. NumMessages: 6,
  665. NumExtensions: 0,
  666. NumServices: 0,
  667. },
  668. GoTypes: file_app_dns_config_proto_goTypes,
  669. DependencyIndexes: file_app_dns_config_proto_depIdxs,
  670. EnumInfos: file_app_dns_config_proto_enumTypes,
  671. MessageInfos: file_app_dns_config_proto_msgTypes,
  672. }.Build()
  673. File_app_dns_config_proto = out.File
  674. file_app_dns_config_proto_rawDesc = nil
  675. file_app_dns_config_proto_goTypes = nil
  676. file_app_dns_config_proto_depIdxs = nil
  677. }