DnsRecordSnapshot record

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

public sealed record DnsRecordSnapshot : IEquatable<DnsRecordSnapshot>

Inherits or implements IEquatable.

A DNS record with its TTL and native record class.

Parameters

Key

The record identity.

TimeToLive

The TTL, in whole seconds.

NativeRecordClass

The native DNS class number; 1 is IN.

Constructors

DnsRecordSnapshot

public DnsRecordSnapshot(DnsRecordKey Key, TimeSpan TimeToLive, uint NativeRecordClass)

A DNS record with its TTL and native record class.

Parameters

Key

The record identity.

TimeToLive

The TTL, in whole seconds.

NativeRecordClass

The native DNS class number; 1 is IN.

Properties

Key

public DnsRecordKey Key { get; init; }

The record identity.

NativeRecordClass

public uint NativeRecordClass { get; init; }

The native DNS class number; 1 is IN.

TimeToLive

public TimeSpan TimeToLive { get; init; }

The TTL, in whole seconds.