Class Record
Represents a single record in a RecordSet.
Namespace: PowerDns.Client.Models
Assembly: PowerDns.Client.dll
Syntax
public class Record : Object
Constructors
Record()
Declaration
public Record()
Record(String)
Declaration
public Record(string content)
Parameters
Type | Name | Description |
---|---|---|
String | content |
Properties
Content
The content of this record.
Declaration
public string Content { get; set; }
Property Value
Type | Description |
---|---|
String |
Disabled
Whether or not this record is disabled.
Declaration
public bool Disabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default: false
SetPtr
If set to true, the server will find the matching reverse zone and create a PTR there. Existing PTR records are replaced. If no matching reverse Zone, an error is thrown. Only valid in client bodies, only valid for A and AAAA types. Not returned by the server.
Declaration
public bool SetPtr { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default: false