Zum Inhalt springen

Command: bind an A/AAAA record set to a source (values follow the source).

POST
/zones/{zoneId}/record-sets/bind
curl --request POST \
--url https://example.com/api/v1/zones/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/record-sets/bind \
--header 'Content-Type: application/json' \
--cookie dnse_session=<dnse_session> \
--data '{ "name": "example", "type": "A", "ttl": 300, "sourceRef": "example" }'
zoneId
required
string format: uuid
Media typeapplication/json
object
name
required
string
type
required
string
Allowed values: A AAAA
ttl
integer
default: 300
sourceRef
required

Source-host: oder dyn-host:

string

Bound (possibly pending if the source has no values yet).

Resource not found.

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}