Table of Contents

Class MicrosoftDnsServerZone

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents a zone configured for a Microsoft DNS server.

public abstract class MicrosoftDnsServerZone : BaseTypeSection, IComparable<MicrosoftDnsServerZone>
Inheritance
MicrosoftDnsServerZone
Implements
Derived

Constructors

MicrosoftDnsServerZone()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.MicrosoftDnsServerZone class.

public MicrosoftDnsServerZone()

Properties

CategoryString

Gets the zone category - "Forward Lookup Zone", "Reverse Lookup Zone", or "Unknown".

public string CategoryString { get; set; }

Property Value

string

CollectionIndex

Gets the collection index. This is required because two different zones that have the same name but different classes cannot be compared by the data comparer.

[Browsable(false)]
public string CollectionIndex { get; }

Property Value

string

DistinguishedName

Gets or sets the distinguished name of the zone if Active Directory integrated.

public string DistinguishedName { get; set; }

Property Value

string

DnsSecStatusString

Gets the DNSSEC status for the zone as a human readable string. This only applies to primary lookup zones.

public string DnsSecStatusString { get; set; }

Property Value

string

IsAutoCreated

Gets or sets whether the zone was automatically created.

public BooleanOption IsAutoCreated { get; set; }

Property Value

BooleanOption

IsDsIntegrated

Gets or sets whether the zone is Active Directory integrated.

public BooleanOption IsDsIntegrated { get; set; }

Property Value

BooleanOption

IsPaused

Gets or sets whether the zone is paused.

public BooleanOption IsPaused { get; set; }

Property Value

BooleanOption

IsPrimaryZone

Gets whether the zone is a primary zone.

[Browsable(false)]
public bool IsPrimaryZone { get; }

Property Value

bool

IsReadOnly

Gets or sets whether the zone is read-only.

public BooleanOption IsReadOnly { get; set; }

Property Value

BooleanOption

IsReverseLookupZone

Gets or sets whether the zone is a reverse lookup zone.

public BooleanOption IsReverseLookupZone { get; set; }

Property Value

BooleanOption

IsSecondaryZone

Gets whether the zone is a secondary zone.

[Browsable(false)]
public bool IsSecondaryZone { get; }

Property Value

bool

IsShutdown

Gets or sets whether the zone is shutdown.

public BooleanOption IsShutdown { get; set; }

Property Value

BooleanOption

IsStubZone

Gets whether the zone is a stub zone.

[Browsable(false)]
public bool IsStubZone { get; }

Property Value

bool

NameServers

Gets or sets the name servers for the zone.

public MicrosoftDnsServerNameServers NameServers { get; set; }

Property Value

MicrosoftDnsServerNameServers

ResourceRecords

Gets or sets the resource records for the zone.

public MicrosoftDnsServerResourceRecords ResourceRecords { get; set; }

Property Value

MicrosoftDnsServerResourceRecords

Soa

Gets or sets the start of authority (SOA) record for this zone.

public MicrosoftDnsServerZoneSoaRecord Soa { get; set; }

Property Value

MicrosoftDnsServerZoneSoaRecord

StatusString

Gets the status of the server.

public string StatusString { get; set; }

Property Value

string

ZoneFile

Gets or sets the path to the zone file. This only applies to zones that are not Active Directory integrated.

public string ZoneFile { get; set; }

Property Value

string

ZoneFileString

Gets or sets the zone file as a human readable string.

public string ZoneFileString { get; set; }

Property Value

string

ZoneName

Gets or sets the name of the zone.

public string ZoneName { get; set; }

Property Value

string

ZoneType

Gets the type of zone.

public MicrosoftDnsServerZoneType ZoneType { get; }

Property Value

MicrosoftDnsServerZoneType

ZoneTypeString

Gets the type of zone as a human readable string.

public string ZoneTypeString { get; set; }

Property Value

string

Methods

Clone()

Returns a CENTREL.XIA.Configuration.Types.MicrosoftDnsServerZone cloned from this object.

public MicrosoftDnsServerZone Clone()

Returns

MicrosoftDnsServerZone

A CENTREL.XIA.Configuration.Types.MicrosoftDnsServerZone.

CompareTo(MicrosoftDnsServerZone)

Compares two CENTREL.XIA.Configuration.Types.MicrosoftDnsServerZone objects to allow sorting alphabetically by zone name.

public int CompareTo(MicrosoftDnsServerZone other)

Parameters

other MicrosoftDnsServerZone

The CENTREL.XIA.Configuration.Types.MicrosoftDnsServerZone to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.MicrosoftDnsServerZone objects.

FromZoneType(MicrosoftDnsServerZoneType)

Creates a new instance of the MicrosoftDnsServerZone class for the specified zone type.

public static MicrosoftDnsServerZone FromZoneType(MicrosoftDnsServerZoneType zoneType)

Parameters

zoneType MicrosoftDnsServerZoneType

The zone type.

Returns

MicrosoftDnsServerZone

A new instance of the MicrosoftDnsServerZone class for the specified zone type.

ToString()

Returns the zone as a human readable string.

public override string ToString()

Returns

string

The zone as a human readable string.