Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92a1bd41 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add NetworkDnsServerSupportReported in stats.proto"

parents 30e6f896 0c673ff7
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
@@ -474,3 +474,31 @@ message NetworkDnsHandshakeReported {
  // The sampling-rate of this event is 1/sampling_rate_denom.
  optional int32 sampling_rate_denom = 15;
}

/**
 * logs the number of DNS servers supported by the protocol
 */
message NetworkDnsServerSupportReported {
    // The network type of the network
    optional NetworkType network_type = 1;

    // The private DNS mode of the network
    optional PrivateDnsModes private_dns_modes = 2;

    // Stores the state of all DNS servers for this network
    optional Servers servers = 3;
}

message Servers {
    repeated Server server = 1;
}

message Server {
    optional Protocol protocol = 1;

    // The order of the dns server in the network
    optional int32 index = 2;

    // The validation status of the DNS server in the network
    required bool validated = 3;
}