API Reference
DnsLogZoneSummary
Represents a summary of DNS log entries for a specific DNS zone.
Inheritance
- Object
- DnsLogZoneSummary
Constructors
public DnsLogZoneSummary() #Methods
public Void AddRawQuery(DnsDebugMessage query) #VoidAdds a raw DNS query message to this zone summary.
Parameters
- query ADPlayground.DnsDebugMessage
- Query to add.
public Void IncrementQuery(String queryName, Int32 count = 1) #VoidIncrements query statistics for the given DNS name.
Parameters
- queryName System.String
- DNS query name.
- count System.Int32 = 1
- Number of occurrences.
public Void Merge(DnsLogZoneSummary other) #VoidMerges another zone summary into this one.
Parameters
- other ADPlayground.DnsLogZoneSummary
- The zone summary to merge.
Inherited Methods
Properties
public Int32 MaxRawQueries { get; set; } #Gets or sets the maximum number of raw queries to retain.
public String ZoneName { get; set; } #Gets or sets the name of the DNS zone.
public Int32 TotalQueries { get; set; } #Gets or sets the total number of DNS queries for this zone.
public Int64 TotalDurationMs { get; set; } #Gets the total duration in milliseconds for all queries in this zone.
public Double AverageDurationMs { get; } #Gets the average duration in milliseconds per query.
public Boolean IsMatchedZone { get; set; } #Gets or sets a value indicating whether this zone was among user-specified matched zones.
public Dictionary<String, Int32> QueriesByType { get; set; } #Gets or sets a dictionary of DNS query types (e.g., A, AAAA) and their counts.
public Dictionary<String, Int32> QueriesByName { get; } #Gets or sets a dictionary of specific DNS query names and their counts.
public Dictionary<String, Int32> SubdomainQueries { get; set; } #Gets or sets a dictionary of subdomain names and their counts.
public HashSet<String> UniqueClients { get; set; } #Gets or sets a collection of unique client IP addresses that queried this zone.
public DateTime FirstSeen { get; set; } #Gets or sets the earliest date and time a query was first seen for this zone.
public DateTime LastSeen { get; set; } #Gets or sets the latest date and time a query was last seen for this zone.
public List<DnsDebugMessage> RawQueries { get; } #Gets the collection of raw DNS debug messages for this zone.
public String SourceFile { get; set; } #Gets or sets the source file this summary came from.