Zone Class

Class representing a DNS zone

Definition

Namespace: ARSoft.Tools.Net.Dns
Assembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
C#
public class Zone : ICollection<DnsRecordBase>, IEnumerable<DnsRecordBase>, 
	IEnumerable
Inheritance
Object    Zone
Implements
ICollectionDnsRecordBase, IEnumerableDnsRecordBase, IEnumerable

Constructors

Zone(DomainName) Creates a new instance of the Zone class with no records
Zone(DomainName, IEnumerableDnsRecordBase) Creates a new instance of the Zone class that contains records copied from the specified collection
Zone(DomainName, Int32) Create a new instance of the Zone class with the specified initial capacity

Properties

Count Gets the number of records actually contained in the Zone
Name Gets the name of the Zone

Methods

Add Adds a record to the end of the Zone
AddRange Adds an enumeration of records to the end of the Zone
Clear Removes all records from the zone
Contains Determines whether a record is in the Zone
CopyTo Copies the entire Zone to a compatible array
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetEnumerator Returns an enumerator that iterates through the records of the Zone
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ParseMasterFile(DomainName, Stream) Loads a Zone from a master data stream
ParseMasterFile(DomainName, String) Loads a Zone from a master file
Remove Removes a record from the Zone
Sign Signs a zone
ToStringReturns a string that represents the current object.
(Inherited from Object)
UpdateZoneDigests Updates all supported ZONEMD records
ValidateZone Validates a zone

See Also