zone_transfer_servers
Creates, updates, deletes, gets or lists a zone_transfer_servers resource.
Overview​
| Name | zone_transfer_servers |
| Type | Resource |
| Id | oci.dns.zone_transfer_servers |
Fields​
The following fields are returned by SELECT queries:
- list
An OCI nameserver that transfers zone data with external nameservers.<br />
| Name | Datatype | Description |
|---|---|---|
address | string | The server's IP address (IPv4 or IPv6). |
isTransferDestination | boolean | A Boolean flag indicating whether or not the server is a zone data transfer destination. |
isTransferSource | boolean | A Boolean flag indicating whether or not the server is a zone data transfer source. |
port | integer | The server's port. |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | compartmentId, region | opc-request-id, scope, page | Gets a list of IP addresses of OCI nameservers for inbound and outbound transfer of zones in the specified<br />compartment (which must be the root compartment of a tenancy) that transfer zone data with external master or<br />downstream nameservers.<br /> |
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.
| Name | Datatype | Description |
|---|---|---|
compartmentId | string | The OCID of the compartment the resource belongs to. |
region | string | OCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION) |
opc-request-id | string | Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
page | string | The value of the opc-next-page response header from the previous "List" call. |
scope | string | Specifies to operate only on resources that have a matching DNS scope. |
SELECT examples​
- list
Gets a list of IP addresses of OCI nameservers for inbound and outbound transfer of zones in the specified<br />compartment (which must be the root compartment of a tenancy) that transfer zone data with external master or<br />downstream nameservers.<br />
SELECT
address,
isTransferDestination,
isTransferSource,
port
FROM oci.dns.zone_transfer_servers
WHERE compartmentId = '{{ compartmentId }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
AND scope = '{{ scope }}'
AND page = '{{ page }}'
;