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

Commit 53e1fa25 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add NetworkDnsServerSupportReported in stats.proto" am: 92a1bd41

parents 103ef809 92a1bd41
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;
}