Class Zone
Represents an authoritative DNS Zone.
Assembly: PowerDns.Client.dll
Syntax
public class Zone : Object
Constructors
Zone()
Declaration
Zone(CanonicalName, CanonicalName[])
Declaration
public Zone(CanonicalName name, params CanonicalName[] nameservers)
Parameters
Zone(CanonicalName, IEnumerable<CanonicalName>)
Declaration
public Zone(CanonicalName name, IEnumerable<CanonicalName> nameservers)
Parameters
Properties
Id
Opaque zone id (string), assigned by the server, should not be interpreted by the application. Guaranteed to be safe for embedding in URLs.
Declaration
public string Id { get; set; }
Property Value
Kind
Declaration
public ZoneKind Kind { get; set; }
Property Value
Name
Name of the zone (e.g. “example.com.”).
Declaration
public CanonicalName Name { get; set; }
Property Value
Nameservers
Simple list of nameserver names, including the trailing dot. Not required for slave zones.
Declaration
public List<CanonicalName> Nameservers { get; set; }
Property Value
RecordSets
Resource records in this zone.
Declaration
public List<RecordSet> RecordSets { get; set; }
Property Value
Serial
Declaration
public Nullable<int> Serial { get; set; }
Property Value
Type
Declaration
public string Type { get; }
Property Value
Url
API endpoint for this zone.
Declaration
public string Url { get; set; }
Property Value
Methods
Equals(Zone)
Declaration
public bool Equals(Zone other)
Parameters
Type |
Name |
Description |
Zone |
other |
|
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Implements