Skip to main content

outgoing

Creates, updates, deletes, gets or lists an outgoing resource.

Overview

Nameoutgoing
TypeResource
Idcloudflare.dns.outgoing

Fields

The following fields are returned by SELECT queries:

Primary Zone Configuration Details response.

NameDatatypeDescription
idstring (example: 269d8f4853475ca241c4e730be286b20)
namestringZone name. (example: www.example.com.)
checked_timestringThe time for a specific event. (example: 2019-10-24T17:09:42.883908+01:00)
created_timestringThe time for a specific event. (example: 2019-10-24T17:09:42.883908+01:00)
last_transferred_timestringThe time for a specific event. (example: 2019-10-24T17:09:42.883908+01:00)
peersarrayA list of peer tags. (x-stainless-collection-type: set)
soa_serialnumberThe serial number of the SOA for the given zone.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectzone_idGet primary zone configuration for outgoing zone transfers.
updatereplacezone_id, name, peersUpdate primary zone configuration for outgoing zone transfers.
deletedeletezone_idDelete primary zone configuration for outgoing zone transfers.
disableexeczone_idDisable outgoing zone transfers for primary zone and clears IXFR backlog of primary zone.
enableexeczone_idEnable outgoing zone transfers for primary zone.
force_notifyexeczone_idNotifies the secondary nameserver(s) and clears IXFR backlog of primary zone.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
zone_idstringThe Cloudflare zone ID.

SELECT examples

Get primary zone configuration for outgoing zone transfers.

SELECT
id,
name,
checked_time,
created_time,
last_transferred_time,
peers,
soa_serial
FROM cloudflare.dns.outgoing
WHERE zone_id = '{{ zone_id }}' -- required
;

REPLACE examples

Update primary zone configuration for outgoing zone transfers.

REPLACE cloudflare.dns.outgoing
SET
name = '{{ name }}',
peers = '{{ peers }}'
WHERE
zone_id = '{{ zone_id }}' --required
AND name = '{{ name }}' --required
AND peers = '{{ peers }}' --required
RETURNING
errors,
messages,
result,
success;

DELETE examples

Delete primary zone configuration for outgoing zone transfers.

DELETE FROM cloudflare.dns.outgoing
WHERE zone_id = '{{ zone_id }}' --required
;

Lifecycle Methods

Disable outgoing zone transfers for primary zone and clears IXFR backlog of primary zone.

EXEC cloudflare.dns.outgoing.disable
@zone_id='{{ zone_id }}' --required
;