config.pb.go 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1
  4. // protoc v3.21.12
  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. )
  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=xray.app.dns.QueryStrategy" json:"query_strategy,omitempty"`
  204. DisableFallback bool `protobuf:"varint,10,opt,name=disableFallback,proto3" json:"disableFallback,omitempty"`
  205. DisableFallbackIfMatch bool `protobuf:"varint,11,opt,name=disableFallbackIfMatch,proto3" json:"disableFallbackIfMatch,omitempty"`
  206. }
  207. func (x *Config) Reset() {
  208. *x = Config{}
  209. if protoimpl.UnsafeEnabled {
  210. mi := &file_app_dns_config_proto_msgTypes[1]
  211. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  212. ms.StoreMessageInfo(mi)
  213. }
  214. }
  215. func (x *Config) String() string {
  216. return protoimpl.X.MessageStringOf(x)
  217. }
  218. func (*Config) ProtoMessage() {}
  219. func (x *Config) ProtoReflect() protoreflect.Message {
  220. mi := &file_app_dns_config_proto_msgTypes[1]
  221. if protoimpl.UnsafeEnabled && x != nil {
  222. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  223. if ms.LoadMessageInfo() == nil {
  224. ms.StoreMessageInfo(mi)
  225. }
  226. return ms
  227. }
  228. return mi.MessageOf(x)
  229. }
  230. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  231. func (*Config) Descriptor() ([]byte, []int) {
  232. return file_app_dns_config_proto_rawDescGZIP(), []int{1}
  233. }
  234. // Deprecated: Do not use.
  235. func (x *Config) GetNameServers() []*net.Endpoint {
  236. if x != nil {
  237. return x.NameServers
  238. }
  239. return nil
  240. }
  241. func (x *Config) GetNameServer() []*NameServer {
  242. if x != nil {
  243. return x.NameServer
  244. }
  245. return nil
  246. }
  247. // Deprecated: Do not use.
  248. func (x *Config) GetHosts() map[string]*net.IPOrDomain {
  249. if x != nil {
  250. return x.Hosts
  251. }
  252. return nil
  253. }
  254. func (x *Config) GetClientIp() []byte {
  255. if x != nil {
  256. return x.ClientIp
  257. }
  258. return nil
  259. }
  260. func (x *Config) GetStaticHosts() []*Config_HostMapping {
  261. if x != nil {
  262. return x.StaticHosts
  263. }
  264. return nil
  265. }
  266. func (x *Config) GetTag() string {
  267. if x != nil {
  268. return x.Tag
  269. }
  270. return ""
  271. }
  272. func (x *Config) GetDisableCache() bool {
  273. if x != nil {
  274. return x.DisableCache
  275. }
  276. return false
  277. }
  278. func (x *Config) GetQueryStrategy() QueryStrategy {
  279. if x != nil {
  280. return x.QueryStrategy
  281. }
  282. return QueryStrategy_USE_IP
  283. }
  284. func (x *Config) GetDisableFallback() bool {
  285. if x != nil {
  286. return x.DisableFallback
  287. }
  288. return false
  289. }
  290. func (x *Config) GetDisableFallbackIfMatch() bool {
  291. if x != nil {
  292. return x.DisableFallbackIfMatch
  293. }
  294. return false
  295. }
  296. type NameServer_PriorityDomain struct {
  297. state protoimpl.MessageState
  298. sizeCache protoimpl.SizeCache
  299. unknownFields protoimpl.UnknownFields
  300. Type DomainMatchingType `protobuf:"varint,1,opt,name=type,proto3,enum=xray.app.dns.DomainMatchingType" json:"type,omitempty"`
  301. Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
  302. }
  303. func (x *NameServer_PriorityDomain) Reset() {
  304. *x = NameServer_PriorityDomain{}
  305. if protoimpl.UnsafeEnabled {
  306. mi := &file_app_dns_config_proto_msgTypes[2]
  307. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  308. ms.StoreMessageInfo(mi)
  309. }
  310. }
  311. func (x *NameServer_PriorityDomain) String() string {
  312. return protoimpl.X.MessageStringOf(x)
  313. }
  314. func (*NameServer_PriorityDomain) ProtoMessage() {}
  315. func (x *NameServer_PriorityDomain) ProtoReflect() protoreflect.Message {
  316. mi := &file_app_dns_config_proto_msgTypes[2]
  317. if protoimpl.UnsafeEnabled && x != nil {
  318. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  319. if ms.LoadMessageInfo() == nil {
  320. ms.StoreMessageInfo(mi)
  321. }
  322. return ms
  323. }
  324. return mi.MessageOf(x)
  325. }
  326. // Deprecated: Use NameServer_PriorityDomain.ProtoReflect.Descriptor instead.
  327. func (*NameServer_PriorityDomain) Descriptor() ([]byte, []int) {
  328. return file_app_dns_config_proto_rawDescGZIP(), []int{0, 0}
  329. }
  330. func (x *NameServer_PriorityDomain) GetType() DomainMatchingType {
  331. if x != nil {
  332. return x.Type
  333. }
  334. return DomainMatchingType_Full
  335. }
  336. func (x *NameServer_PriorityDomain) GetDomain() string {
  337. if x != nil {
  338. return x.Domain
  339. }
  340. return ""
  341. }
  342. type NameServer_OriginalRule struct {
  343. state protoimpl.MessageState
  344. sizeCache protoimpl.SizeCache
  345. unknownFields protoimpl.UnknownFields
  346. Rule string `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"`
  347. Size uint32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
  348. }
  349. func (x *NameServer_OriginalRule) Reset() {
  350. *x = NameServer_OriginalRule{}
  351. if protoimpl.UnsafeEnabled {
  352. mi := &file_app_dns_config_proto_msgTypes[3]
  353. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  354. ms.StoreMessageInfo(mi)
  355. }
  356. }
  357. func (x *NameServer_OriginalRule) String() string {
  358. return protoimpl.X.MessageStringOf(x)
  359. }
  360. func (*NameServer_OriginalRule) ProtoMessage() {}
  361. func (x *NameServer_OriginalRule) ProtoReflect() protoreflect.Message {
  362. mi := &file_app_dns_config_proto_msgTypes[3]
  363. if protoimpl.UnsafeEnabled && x != nil {
  364. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  365. if ms.LoadMessageInfo() == nil {
  366. ms.StoreMessageInfo(mi)
  367. }
  368. return ms
  369. }
  370. return mi.MessageOf(x)
  371. }
  372. // Deprecated: Use NameServer_OriginalRule.ProtoReflect.Descriptor instead.
  373. func (*NameServer_OriginalRule) Descriptor() ([]byte, []int) {
  374. return file_app_dns_config_proto_rawDescGZIP(), []int{0, 1}
  375. }
  376. func (x *NameServer_OriginalRule) GetRule() string {
  377. if x != nil {
  378. return x.Rule
  379. }
  380. return ""
  381. }
  382. func (x *NameServer_OriginalRule) GetSize() uint32 {
  383. if x != nil {
  384. return x.Size
  385. }
  386. return 0
  387. }
  388. type Config_HostMapping struct {
  389. state protoimpl.MessageState
  390. sizeCache protoimpl.SizeCache
  391. unknownFields protoimpl.UnknownFields
  392. Type DomainMatchingType `protobuf:"varint,1,opt,name=type,proto3,enum=xray.app.dns.DomainMatchingType" json:"type,omitempty"`
  393. Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
  394. Ip [][]byte `protobuf:"bytes,3,rep,name=ip,proto3" json:"ip,omitempty"`
  395. // ProxiedDomain indicates the mapped domain has the same IP address on this
  396. // domain. Xray will use this domain for IP queries.
  397. ProxiedDomain string `protobuf:"bytes,4,opt,name=proxied_domain,json=proxiedDomain,proto3" json:"proxied_domain,omitempty"`
  398. }
  399. func (x *Config_HostMapping) Reset() {
  400. *x = Config_HostMapping{}
  401. if protoimpl.UnsafeEnabled {
  402. mi := &file_app_dns_config_proto_msgTypes[5]
  403. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  404. ms.StoreMessageInfo(mi)
  405. }
  406. }
  407. func (x *Config_HostMapping) String() string {
  408. return protoimpl.X.MessageStringOf(x)
  409. }
  410. func (*Config_HostMapping) ProtoMessage() {}
  411. func (x *Config_HostMapping) ProtoReflect() protoreflect.Message {
  412. mi := &file_app_dns_config_proto_msgTypes[5]
  413. if protoimpl.UnsafeEnabled && x != nil {
  414. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  415. if ms.LoadMessageInfo() == nil {
  416. ms.StoreMessageInfo(mi)
  417. }
  418. return ms
  419. }
  420. return mi.MessageOf(x)
  421. }
  422. // Deprecated: Use Config_HostMapping.ProtoReflect.Descriptor instead.
  423. func (*Config_HostMapping) Descriptor() ([]byte, []int) {
  424. return file_app_dns_config_proto_rawDescGZIP(), []int{1, 1}
  425. }
  426. func (x *Config_HostMapping) GetType() DomainMatchingType {
  427. if x != nil {
  428. return x.Type
  429. }
  430. return DomainMatchingType_Full
  431. }
  432. func (x *Config_HostMapping) GetDomain() string {
  433. if x != nil {
  434. return x.Domain
  435. }
  436. return ""
  437. }
  438. func (x *Config_HostMapping) GetIp() [][]byte {
  439. if x != nil {
  440. return x.Ip
  441. }
  442. return nil
  443. }
  444. func (x *Config_HostMapping) GetProxiedDomain() string {
  445. if x != nil {
  446. return x.ProxiedDomain
  447. }
  448. return ""
  449. }
  450. var File_app_dns_config_proto protoreflect.FileDescriptor
  451. var file_app_dns_config_proto_rawDesc = []byte{
  452. 0x0a, 0x14, 0x61, 0x70, 0x70, 0x2f, 0x64, 0x6e, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
  453. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70,
  454. 0x2e, 0x64, 0x6e, 0x73, 0x1a, 0x18, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74,
  455. 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c,
  456. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6e, 0x65, 0x74, 0x2f, 0x64, 0x65, 0x73, 0x74, 0x69,
  457. 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x61, 0x70,
  458. 0x70, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
  459. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xee, 0x03, 0x0a, 0x0a, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65,
  460. 0x72, 0x76, 0x65, 0x72, 0x12, 0x33, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18,
  461. 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d,
  462. 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
  463. 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69,
  464. 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x63, 0x6c,
  465. 0x69, 0x65, 0x6e, 0x74, 0x49, 0x70, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x6b, 0x69, 0x70, 0x46, 0x61,
  466. 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x73, 0x6b,
  467. 0x69, 0x70, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x56, 0x0a, 0x12, 0x70, 0x72,
  468. 0x69, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
  469. 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70,
  470. 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
  471. 0x2e, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52,
  472. 0x11, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x7a, 0x65, 0x64, 0x44, 0x6f, 0x6d, 0x61,
  473. 0x69, 0x6e, 0x12, 0x2c, 0x0a, 0x05, 0x67, 0x65, 0x6f, 0x69, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28,
  474. 0x0b, 0x32, 0x16, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x72, 0x6f, 0x75,
  475. 0x74, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x6f, 0x49, 0x50, 0x52, 0x05, 0x67, 0x65, 0x6f, 0x69, 0x70,
  476. 0x12, 0x4c, 0x0a, 0x0e, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x72, 0x75, 0x6c,
  477. 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e,
  478. 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76,
  479. 0x65, 0x72, 0x2e, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x52,
  480. 0x0d, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x1a, 0x5e,
  481. 0x0a, 0x0e, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
  482. 0x12, 0x34, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20,
  483. 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x44, 0x6f,
  484. 0x6d, 0x61, 0x69, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65,
  485. 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
  486. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x1a, 0x36,
  487. 0x0a, 0x0c, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x12,
  488. 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x75,
  489. 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d,
  490. 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0xef, 0x05, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69,
  491. 0x67, 0x12, 0x3f, 0x0a, 0x0b, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73,
  492. 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
  493. 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
  494. 0x74, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0b, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65,
  495. 0x72, 0x73, 0x12, 0x39, 0x0a, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65,
  496. 0x72, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x61,
  497. 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65,
  498. 0x72, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x39, 0x0a,
  499. 0x05, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x78,
  500. 0x72, 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x66,
  501. 0x69, 0x67, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x02, 0x18,
  502. 0x01, 0x52, 0x05, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65,
  503. 0x6e, 0x74, 0x5f, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x63, 0x6c, 0x69,
  504. 0x65, 0x6e, 0x74, 0x49, 0x70, 0x12, 0x43, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x5f,
  505. 0x68, 0x6f, 0x73, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72,
  506. 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69,
  507. 0x67, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x0b, 0x73,
  508. 0x74, 0x61, 0x74, 0x69, 0x63, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61,
  509. 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x22, 0x0a, 0x0c,
  510. 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x18, 0x08, 0x20, 0x01,
  511. 0x28, 0x08, 0x52, 0x0c, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65,
  512. 0x12, 0x42, 0x0a, 0x0e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65,
  513. 0x67, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e,
  514. 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x72,
  515. 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x0d, 0x71, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x72, 0x61,
  516. 0x74, 0x65, 0x67, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x46,
  517. 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x64,
  518. 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x36,
  519. 0x0a, 0x16, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63,
  520. 0x6b, 0x49, 0x66, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16,
  521. 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x49,
  522. 0x66, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x1a, 0x55, 0x0a, 0x0a, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x45,
  523. 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
  524. 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x31, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
  525. 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d,
  526. 0x6d, 0x6f, 0x6e, 0x2e, 0x6e, 0x65, 0x74, 0x2e, 0x49, 0x50, 0x4f, 0x72, 0x44, 0x6f, 0x6d, 0x61,
  527. 0x69, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x92, 0x01,
  528. 0x0a, 0x0b, 0x48, 0x6f, 0x73, 0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x34, 0x0a,
  529. 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x78, 0x72,
  530. 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69,
  531. 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74,
  532. 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20,
  533. 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69,
  534. 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x02, 0x69, 0x70, 0x12, 0x25, 0x0a, 0x0e, 0x70,
  535. 0x72, 0x6f, 0x78, 0x69, 0x65, 0x64, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x04, 0x20,
  536. 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x78, 0x69, 0x65, 0x64, 0x44, 0x6f, 0x6d, 0x61,
  537. 0x69, 0x6e, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x2a, 0x45, 0x0a, 0x12, 0x44, 0x6f, 0x6d, 0x61,
  538. 0x69, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08,
  539. 0x0a, 0x04, 0x46, 0x75, 0x6c, 0x6c, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x64,
  540. 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4b, 0x65, 0x79, 0x77, 0x6f,
  541. 0x72, 0x64, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x65, 0x67, 0x65, 0x78, 0x10, 0x03, 0x2a,
  542. 0x35, 0x0a, 0x0d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79,
  543. 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x53, 0x45, 0x5f, 0x49, 0x50, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07,
  544. 0x55, 0x53, 0x45, 0x5f, 0x49, 0x50, 0x34, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x53, 0x45,
  545. 0x5f, 0x49, 0x50, 0x36, 0x10, 0x02, 0x42, 0x46, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72,
  546. 0x61, 0x79, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x64, 0x6e, 0x73, 0x50, 0x01, 0x5a, 0x21, 0x67, 0x69,
  547. 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72,
  548. 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x64, 0x6e, 0x73, 0xaa,
  549. 0x02, 0x0c, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x44, 0x6e, 0x73, 0x62, 0x06,
  550. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  551. }
  552. var (
  553. file_app_dns_config_proto_rawDescOnce sync.Once
  554. file_app_dns_config_proto_rawDescData = file_app_dns_config_proto_rawDesc
  555. )
  556. func file_app_dns_config_proto_rawDescGZIP() []byte {
  557. file_app_dns_config_proto_rawDescOnce.Do(func() {
  558. file_app_dns_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_dns_config_proto_rawDescData)
  559. })
  560. return file_app_dns_config_proto_rawDescData
  561. }
  562. var file_app_dns_config_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  563. var file_app_dns_config_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
  564. var file_app_dns_config_proto_goTypes = []interface{}{
  565. (DomainMatchingType)(0), // 0: xray.app.dns.DomainMatchingType
  566. (QueryStrategy)(0), // 1: xray.app.dns.QueryStrategy
  567. (*NameServer)(nil), // 2: xray.app.dns.NameServer
  568. (*Config)(nil), // 3: xray.app.dns.Config
  569. (*NameServer_PriorityDomain)(nil), // 4: xray.app.dns.NameServer.PriorityDomain
  570. (*NameServer_OriginalRule)(nil), // 5: xray.app.dns.NameServer.OriginalRule
  571. nil, // 6: xray.app.dns.Config.HostsEntry
  572. (*Config_HostMapping)(nil), // 7: xray.app.dns.Config.HostMapping
  573. (*net.Endpoint)(nil), // 8: xray.common.net.Endpoint
  574. (*router.GeoIP)(nil), // 9: xray.app.router.GeoIP
  575. (*net.IPOrDomain)(nil), // 10: xray.common.net.IPOrDomain
  576. }
  577. var file_app_dns_config_proto_depIdxs = []int32{
  578. 8, // 0: xray.app.dns.NameServer.address:type_name -> xray.common.net.Endpoint
  579. 4, // 1: xray.app.dns.NameServer.prioritized_domain:type_name -> xray.app.dns.NameServer.PriorityDomain
  580. 9, // 2: xray.app.dns.NameServer.geoip:type_name -> xray.app.router.GeoIP
  581. 5, // 3: xray.app.dns.NameServer.original_rules:type_name -> xray.app.dns.NameServer.OriginalRule
  582. 8, // 4: xray.app.dns.Config.NameServers:type_name -> xray.common.net.Endpoint
  583. 2, // 5: xray.app.dns.Config.name_server:type_name -> xray.app.dns.NameServer
  584. 6, // 6: xray.app.dns.Config.Hosts:type_name -> xray.app.dns.Config.HostsEntry
  585. 7, // 7: xray.app.dns.Config.static_hosts:type_name -> xray.app.dns.Config.HostMapping
  586. 1, // 8: xray.app.dns.Config.query_strategy:type_name -> xray.app.dns.QueryStrategy
  587. 0, // 9: xray.app.dns.NameServer.PriorityDomain.type:type_name -> xray.app.dns.DomainMatchingType
  588. 10, // 10: xray.app.dns.Config.HostsEntry.value:type_name -> xray.common.net.IPOrDomain
  589. 0, // 11: xray.app.dns.Config.HostMapping.type:type_name -> xray.app.dns.DomainMatchingType
  590. 12, // [12:12] is the sub-list for method output_type
  591. 12, // [12:12] is the sub-list for method input_type
  592. 12, // [12:12] is the sub-list for extension type_name
  593. 12, // [12:12] is the sub-list for extension extendee
  594. 0, // [0:12] is the sub-list for field type_name
  595. }
  596. func init() { file_app_dns_config_proto_init() }
  597. func file_app_dns_config_proto_init() {
  598. if File_app_dns_config_proto != nil {
  599. return
  600. }
  601. if !protoimpl.UnsafeEnabled {
  602. file_app_dns_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  603. switch v := v.(*NameServer); i {
  604. case 0:
  605. return &v.state
  606. case 1:
  607. return &v.sizeCache
  608. case 2:
  609. return &v.unknownFields
  610. default:
  611. return nil
  612. }
  613. }
  614. file_app_dns_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  615. switch v := v.(*Config); i {
  616. case 0:
  617. return &v.state
  618. case 1:
  619. return &v.sizeCache
  620. case 2:
  621. return &v.unknownFields
  622. default:
  623. return nil
  624. }
  625. }
  626. file_app_dns_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  627. switch v := v.(*NameServer_PriorityDomain); i {
  628. case 0:
  629. return &v.state
  630. case 1:
  631. return &v.sizeCache
  632. case 2:
  633. return &v.unknownFields
  634. default:
  635. return nil
  636. }
  637. }
  638. file_app_dns_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  639. switch v := v.(*NameServer_OriginalRule); i {
  640. case 0:
  641. return &v.state
  642. case 1:
  643. return &v.sizeCache
  644. case 2:
  645. return &v.unknownFields
  646. default:
  647. return nil
  648. }
  649. }
  650. file_app_dns_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  651. switch v := v.(*Config_HostMapping); i {
  652. case 0:
  653. return &v.state
  654. case 1:
  655. return &v.sizeCache
  656. case 2:
  657. return &v.unknownFields
  658. default:
  659. return nil
  660. }
  661. }
  662. }
  663. type x struct{}
  664. out := protoimpl.TypeBuilder{
  665. File: protoimpl.DescBuilder{
  666. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  667. RawDescriptor: file_app_dns_config_proto_rawDesc,
  668. NumEnums: 2,
  669. NumMessages: 6,
  670. NumExtensions: 0,
  671. NumServices: 0,
  672. },
  673. GoTypes: file_app_dns_config_proto_goTypes,
  674. DependencyIndexes: file_app_dns_config_proto_depIdxs,
  675. EnumInfos: file_app_dns_config_proto_enumTypes,
  676. MessageInfos: file_app_dns_config_proto_msgTypes,
  677. }.Build()
  678. File_app_dns_config_proto = out.File
  679. file_app_dns_config_proto_rawDesc = nil
  680. file_app_dns_config_proto_goTypes = nil
  681. file_app_dns_config_proto_depIdxs = nil
  682. }