Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 1.48 KB

RRSet.md

File metadata and controls

13 lines (10 loc) · 1.48 KB

PowerDNS::RRSet

Properties

Name Type Description Notes
name String Name for record set (e.g. “www.powerdns.com.”)
type String Type of this record (e.g. “A”, “PTR”, “MX”)
ttl Integer DNS TTL of the records, in seconds. MUST NOT be included when changetype is set to “DELETE”.
changetype String MUST be added when updating the RRSet. Must be REPLACE or DELETE. With DELETE, all existing RRs matching name and type will be deleted, including all comments. With REPLACE: when records is present, all existing RRs matching name and type will be deleted, and then new records given in records will be created. If no records are left, any existing comments will be deleted as well. When comments is present, all existing comments for the RRs matching name and type will be deleted, and then new comments given in comments will be created.
records Array<Record> All records in this RRSet. When updating Records, this is the list of new records (replacing the old ones). Must be empty when changetype is set to DELETE. An empty list results in deletion of all records (and comments).
comments Array<Comment> List of Comment. Must be empty when changetype is set to DELETE. An empty list results in deletion of all comments. modified_at is optional and defaults to the current server time. [optional]