API Reference
AuditEntry
Represents a single audit log entry containing query details, the resulting response and any exception that occurred.
Inheritance
- Object
- AuditEntry
Remarks
The audit trail collected by ClientX exposes these entries to callers for troubleshooting.
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
- Property ClientX.AuditTrail
Constructors
public AuditEntry(String name, DnsRecordType recordType) #Initializes a new instance of the AuditEntry class.
Parameters
- name System.String
- The queried domain name.
- recordType DnsClientX.DnsRecordType
- The requested record type.
Inherited Methods
Properties
public DnsRecordType RecordType { get; } #Gets the requested record type.
public DateTimeOffset StartedAtUtc { get; set; } #Gets or sets the UTC timestamp when the attempt started.
public TimeSpan Duration { get; set; } #Gets or sets the duration of the attempt.
public DnsSelectionStrategy SelectionStrategy { get; set; } #Gets or sets the selection strategy used for the attempt.
public String ResolverHost { get; set; } #Gets or sets the resolver host selected for the attempt.
public Int32 ResolverPort { get; set; } #Gets or sets the resolver port used for the attempt.
public DnsRequestFormat RequestFormat { get; set; } #Gets or sets the request format used for the attempt.
public Transport UsedTransport { get; set; } #Gets or sets the actual transport used for the attempt.
public Boolean ServedFromCache { get; set; } #Gets or sets a value indicating whether the response came from cache.
public Int32 AttemptNumber { get; set; } #Gets or sets the attempt number within the lifetime of the client audit trail.
public String RetryReason { get; set; } #Gets or sets the reason a retry was triggered after this attempt.
public DnsResponse Response { get; set; } #Gets or sets the response returned by the server.
public Exception Exception { get; set; } #Gets or sets the exception thrown during resolution if any.