TestimoX

API Reference

Class

DnsLogIpSummary

Namespace ADPlayground
Assembly ADPlayground

Represents a summary of DNS queries per IP address.

Inheritance

  • Object
  • DnsLogIpSummary

Constructors

Methods

public Void AddRawQuery(DnsDebugMessage query) #
Returns: Void

Adds a raw DNS query record to the summary.

Parameters

query ADPlayground.DnsDebugMessage requiredposition: 0
Query record.
public Void IncrementQuery(String queryName, Int32 count = 1) #
Returns: Void

Increments count for the given DNS query name.

Parameters

queryName System.String requiredposition: 0
DNS query name.
count System.Int32 = 1 optionalposition: 1
Number of occurrences.
public Void Merge(DnsLogIpSummary other) #
Returns: Void

Merges another IP summary into this one.

Parameters

other ADPlayground.DnsLogIpSummary requiredposition: 0
The IP summary to merge.

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.