1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-02-20 23:47:21 -05:00
v2fly/app/dns/config.proto

20 lines
666 B
Protocol Buffer
Raw Normal View History

2016-09-20 16:05:35 +02:00
syntax = "proto3";
2016-09-26 15:14:16 +02:00
package v2ray.core.app.dns;
2016-12-23 00:24:28 +01:00
option csharp_namespace = "V2Ray.Core.App.Dns";
2016-09-20 16:05:35 +02:00
option go_package = "dns";
2016-09-26 15:14:16 +02:00
option java_package = "com.v2ray.core.app.dns";
2017-02-03 23:15:10 +01:00
option java_multiple_files = true;
2016-09-20 16:05:35 +02:00
import "v2ray.com/core/common/net/address.proto";
import "v2ray.com/core/common/net/destination.proto";
message Config {
2016-10-18 10:31:39 +02:00
// Nameservers used by this DNS. Only traditional UDP servers are support at the moment.
// A special value 'localhost' as a domain address can be set to use DNS on local system.
2016-10-12 18:43:55 +02:00
repeated v2ray.core.common.net.Endpoint NameServers = 1;
2016-10-18 10:31:39 +02:00
// Static hosts. Domain to IP.
2016-10-12 18:43:55 +02:00
map<string, v2ray.core.common.net.IPOrDomain> Hosts = 2;
2016-09-20 16:05:35 +02:00
}