@@ -36,6 +36,30 @@ type CreateOpts struct {
3636 // Target represents the canonical hostname of the machine providing the service.
3737 // For SRV records only.
3838 Target string `json:"target,omitempty"`
39+
40+ // Tag represents the identifier of the property represented by the record.
41+ // For CAA records only.
42+ Tag string `json:"tag,omitempty"`
43+
44+ // Flag represents the critical flag, that has a specific meaning per RFC.
45+ // For CAA records only.
46+ Flag * int `json:"flag,omitempty"`
47+
48+ // The value associated with the tag.
49+ // For CAA records only.
50+ Value string `json:"value,omitempty"`
51+
52+ // Algorithm.
53+ // For SSHFP records only.
54+ Algorithm * int `json:"algorithm,omitempty"`
55+
56+ // Algorithm used to hash the public key
57+ // For SSHFP records only.
58+ FingerprintType * int `json:"fingerprint_type,omitempty"`
59+
60+ // Hexadecimal representation of the hash result, as text.
61+ // For SSHFP records only.
62+ Fingerprint string `json:"fingerprint,omitempty"`
3963}
4064
4165// UpdateOpts represents requests options to update a domain record.
@@ -74,4 +98,28 @@ type UpdateOpts struct {
7498 // Target represents the canonical hostname of the machine providing the service.
7599 // For SRV records only.
76100 Target string `json:"target,omitempty"`
101+
102+ // Tag represents the identifier of the property represented by the record.
103+ // For CAA records only.
104+ Tag string `json:"tag,omitempty"`
105+
106+ // Flag represents the critical flag, that has a specific meaning per RFC.
107+ // For CAA records only.
108+ Flag * int `json:"flag,omitempty"`
109+
110+ // The value associated with the tag.
111+ // For CAA records only.
112+ Value string `json:"value,omitempty"`
113+
114+ // Algorithm.
115+ // For SSHFP records only.
116+ Algorithm * int `json:"algorithm,omitempty"`
117+
118+ // Algorithm used to hash the public key
119+ // For SSHFP records only.
120+ FingerprintType * int `json:"fingerprint_type,omitempty"`
121+
122+ // Hexadecimal representation of the hash result, as text.
123+ // For SSHFP records only.
124+ Fingerprint string `json:"fingerprint,omitempty"`
77125}
0 commit comments