API Reference
Class
DnsLogIpSummary
Represents a summary of DNS queries per IP address.
Inheritance
- Object
- DnsLogIpSummary
Constructors
public DnsLogIpSummary() #Methods
public Void AddRawQuery(DnsDebugMessage query) #Returns:
VoidAdds a raw DNS query record to the summary.
Parameters
- query ADPlayground.DnsDebugMessage
- Query record.
public Void IncrementQuery(String queryName, Int32 count = 1) #Returns:
VoidIncrements count for the given DNS query name.
Parameters
- queryName System.String
- DNS query name.
- count System.Int32 = 1
- Number of occurrences.
public Void Merge(DnsLogIpSummary other) #Returns:
VoidMerges another IP summary into this one.
Parameters
- other ADPlayground.DnsLogIpSummary
- The IP summary to merge.
Inherited Methods
Properties
public Int32 MaxRawQueries { get; set; } #Gets or sets the maximum number of raw queries to retain.
public String IpAddress { get; set; } #Gets or sets the IP address.
public Int32 TotalQueries { get; set; } #Gets or sets the total number of queries from this IP.
public Int64 TotalDurationMs { get; set; } #Gets the total duration in milliseconds for all queries.
public Double AverageDurationMs { get; } #Gets the average duration in milliseconds per query.
public DateTime FirstSeen { get; set; } #Gets or sets the timestamp when this IP was first seen.
public DateTime LastSeen { get; set; } #Gets or sets the timestamp when this IP was last seen.
public Dictionary<String, Int32> QueriesByName { get; } #Gets or sets the dictionary of query counts by name.
public List<DnsDebugMessage> RawQueries { get; } #Gets the list of raw DNS queries from this IP.