You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
v2ray-core/app/dns/config.proto

20 lines
666 B

syntax = "proto3";
package v2ray.core.app.dns;
option csharp_namespace = "V2Ray.Core.App.Dns";
option go_package = "dns";
option java_package = "com.v2ray.core.app.dns";
option java_multiple_files = true;
import "v2ray.com/core/common/net/address.proto";
import "v2ray.com/core/common/net/destination.proto";
message Config {
8 years ago
// 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.
8 years ago
repeated v2ray.core.common.net.Endpoint NameServers = 1;
8 years ago
// Static hosts. Domain to IP.
8 years ago
map<string, v2ray.core.common.net.IPOrDomain> Hosts = 2;
}