DnsResolution record

Namespace Runic.Platform.Administration.Windows.Dns in Runic.Platform.Administration.Windows 0.23.0

public sealed record DnsResolution : IEquatable<DnsResolution>

Inherits or implements IEquatable.

The response of a DNS server to one query.

Parameters

ResponseCode

The response code. DnsResponseCode.NameError and the other error codes are results, not exceptions.

Answers

The answer section; empty for an error code or a name without records of the type.

Constructors

DnsResolution

public DnsResolution(DnsResponseCode ResponseCode, ImmutableArray<DnsAnswer> Answers)

The response of a DNS server to one query.

Parameters

ResponseCode

The response code. DnsResponseCode.NameError and the other error codes are results, not exceptions.

Answers

The answer section; empty for an error code or a name without records of the type.

Properties

Answers

public ImmutableArray<DnsAnswer> Answers { get; init; }

The answer section; empty for an error code or a name without records of the type.

ResponseCode

public DnsResponseCode ResponseCode { get; init; }

The response code. DnsResponseCode.NameError and the other error codes are results, not exceptions.