The Record Object holds details on a record for a domain.
Field | Type | Example | Description |
---|---|---|---|
id |
| "aaaaaaaaaaabbbbbbbbbbbbb" | A unique id for the record. |
uid |
| "aaaaaaaaaaabbbbbbbbbbbbb" | The ID of the user that controls the record. |
hostname |
| "@", "app" | The subdomain of the domain. |
type |
| "A", "CNAME", "MX" | The type of record. |
value |
| "20.20.20.20" | The value of the record. This could be an IP address. |
ttl |
| 3600 | The records Time To Live in seconds. This is the amount of time the record is allowed to be cached by a resolver. |
priority |
| 10 | Priority of a record, a lower value takes priority. |
weight |
| 20 | Weight of a record, if multiple records have the same priority a weight can be used. A higher weight has more chance of being picked. |
port |
| 123 | The port the service is running on for an SRV record. |
caaflag |
| 0, 128 | Flag to indicate if the CAA record is critical (128) or non critical (0). |
caatype |
| "issue" | The type of CAA certificate to use. |