config.pb.go 30 KB

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