github.com/google/cloudprober@v0.11.3/probes/dns/proto/config.proto (about) 1 syntax = "proto2"; 2 3 package cloudprober.probes.dns; 4 5 option go_package = "github.com/google/cloudprober/probes/dns/proto"; 6 7 // DNS query types from https://en.wikipedia.org/wiki/List_of_DNS_record_types 8 enum QueryType { 9 NONE = 0; 10 A = 1; 11 NS = 2; 12 CNAME = 5; 13 SOA = 6; 14 PTR = 12; 15 MX = 15; 16 TXT = 16; 17 RP = 17; 18 AFSDB = 18; 19 SIG = 24; 20 KEY = 25; 21 AAAA = 28; 22 LOC = 29; 23 SRV = 33; 24 NAPTR = 35; 25 KX = 36; 26 CERT = 37; 27 DNAME = 39; 28 APL = 42; 29 DS = 43; 30 SSHFP = 44; 31 IPSECKEY = 45; 32 RRSIG = 46; 33 NSEC = 47; 34 DNSKEY = 48; 35 DHCID = 49; 36 NSEC3 = 50; 37 NSEC3PARAM = 51; 38 TLSA = 52; 39 HIP = 55; 40 CDS = 59; 41 CDNSKEY = 60; 42 OPENPGPKEY = 61; 43 TKEY = 249; 44 TSIG = 250; 45 URI = 256; 46 CAA = 257; 47 TA = 32768; 48 DLV = 32769; 49 } 50 51 message ProbeConf { 52 // Domain to use when making DNS queries 53 optional string resolved_domain = 1 [default = "www.google.com."]; 54 55 // DNS Query Type 56 optional QueryType query_type = 3 [default = MX]; 57 58 // Minimum number of answers expected. Default behavior is to return success 59 // if DNS response status is NOERROR. 60 optional uint32 min_answers = 4 [default = 0]; 61 62 // Whether to resolve the target before making the request. If set to false, 63 // we hand over the target directly to the DNS client. Otherwise, we resolve 64 // the target first to an IP address. 65 optional bool resolve_first = 5 [default = false]; 66 }