The Record Object holds details on a record for a domain.
| Field | Type | Example | Description |
|---|---|---|---|
| id | String | "aaaaaaaaaaabbbbbbbbbbbbb" | A unique id for the record. |
| uid | String | "aaaaaaaaaaabbbbbbbbbbbbb" | The ID of the user that controls the record. |
| hostname | String | "@", "app" | The subdomain of the domain. |
| type | String | "A", "CNAME", "MX" | The type of record. |
| value | String | "20.20.20.20" | The value of the record. This could be an IP address. |
| ttl | Integer | 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 | Integer | 10 | Priority of a record, a lower value takes priority. |
| weight | Integer | 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 | Integer | 123 | The port the service is running on for an SRV record. |
| caaflag | Integer | 0, 128 | Flag to indicate if the CAA record is critical (128) or non critical (0). |
| caatype | String | "issue" | The type of CAA certificate to use. |
