API Reference
DnsLogIpSummary
Represents a summary of DNS queries per IP address.
Inheritance
- Object
- DnsLogIpSummary
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method DnsLog.BuildIpSummary
- Method DnsLog.GetIpSummary
- Method DnsLog.GetIpSummaryAsync
- Property DnsLogAnalysisResult.FileIpSummaries
- Property DnsLogAnalysisResult.MergedIpSummary
- Method DnsLogMerger.MergeIpSummaries
Accepted by parameters
- Method DnsLogIpSummary.Merge
- Method DnsLogMerger.MergeIpSummaries
Constructors
public DnsLogIpSummary() #Methods
public Void AddRawQuery(DnsDebugMessage query) #VoidAdds a raw DNS query record to the summary.
Parameters
- query ADPlayground.DnsDebugMessage
- Query record.
public Void IncrementQuery(String queryName, Int32 count = 1) #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) #VoidMerges another IP summary into this one.
Parameters
- other ADPlayground.DnsLogIpSummary
- The IP summary to merge.
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
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.