github.com/imannamdari/v2ray-core/v5@v5.0.5/app/dns/fakedns/fakedns.proto (about)

     1  syntax = "proto3";
     2  
     3  package v2ray.core.app.dns.fakedns;
     4  option csharp_namespace = "V2Ray.Core.App.Dns.Fakedns";
     5  option go_package = "github.com/imannamdari/v2ray-core/v5/app/dns/fakedns";
     6  option java_package = "com.v2ray.core.app.dns.fakedns";
     7  option java_multiple_files = true;
     8  
     9  import "common/protoext/extensions.proto";
    10  
    11  message FakeDnsPool{
    12    option (v2ray.core.common.protoext.message_opt).type = "service";
    13    option (v2ray.core.common.protoext.message_opt).short_name = "fakeDns";
    14  
    15    string ip_pool = 1; //CIDR of IP pool used as fake DNS IP
    16    int64  lruSize = 2; //Size of Pool for remembering relationship between domain name and IP address
    17  }
    18  
    19  message FakeDnsPoolMulti{
    20    option (v2ray.core.common.protoext.message_opt).type = "service";
    21    option (v2ray.core.common.protoext.message_opt).short_name = "fakeDnsMulti";
    22  
    23    repeated FakeDnsPool pools = 1;
    24  }