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
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
DistinguishedName
Gets or sets the distinguished name of the zone if Active Directory integrated.
public string DistinguishedName { get; set; }
Property Value
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
IsAutoCreated
Gets or sets whether the zone was automatically created.
public BooleanOption IsAutoCreated { get; set; }
Property Value
IsDsIntegrated
Gets or sets whether the zone is Active Directory integrated.
public BooleanOption IsDsIntegrated { get; set; }
Property Value
IsPaused
Gets or sets whether the zone is paused.
public BooleanOption IsPaused { get; set; }
Property Value
IsPrimaryZone
Gets whether the zone is a primary zone.
[Browsable(false)]
public bool IsPrimaryZone { get; }
Property Value
IsReadOnly
Gets or sets whether the zone is read-only.
public BooleanOption IsReadOnly { get; set; }
Property Value
IsReverseLookupZone
Gets or sets whether the zone is a reverse lookup zone.
public BooleanOption IsReverseLookupZone { get; set; }
Property Value
IsSecondaryZone
Gets whether the zone is a secondary zone.
[Browsable(false)]
public bool IsSecondaryZone { get; }
Property Value
IsShutdown
Gets or sets whether the zone is shutdown.
public BooleanOption IsShutdown { get; set; }
Property Value
IsStubZone
Gets whether the zone is a stub zone.
[Browsable(false)]
public bool IsStubZone { get; }
Property Value
NameServers
Gets or sets the name servers for the zone.
public MicrosoftDnsServerNameServers NameServers { get; set; }
Property Value
ResourceRecords
Gets or sets the resource records for the zone.
public MicrosoftDnsServerResourceRecords ResourceRecords { get; set; }
Property Value
Soa
Gets or sets the start of authority (SOA) record for this zone.
public MicrosoftDnsServerZoneSoaRecord Soa { get; set; }
Property Value
StatusString
Gets the status of the server.
public string StatusString { get; set; }
Property Value
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
ZoneFileString
Gets or sets the zone file as a human readable string.
public string ZoneFileString { get; set; }
Property Value
ZoneName
Gets or sets the name of the zone.
public string ZoneName { get; set; }
Property Value
ZoneType
Gets the type of zone.
public MicrosoftDnsServerZoneType ZoneType { get; }
Property Value
ZoneTypeString
Gets the type of zone as a human readable string.
public string ZoneTypeString { get; set; }
Property Value
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
MicrosoftDnsServerZoneThe 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
MicrosoftDnsServerZoneTypeThe 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.