github.com/xmplusdev/xray-core@v1.8.10/app/dns/config.pb.go (about)

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