Skip to main content

zone_file

Creates, updates, deletes, gets or lists a zone_file resource.

Overview

Namezone_file
TypeResource
Idlinode.domains.zone_file

Fields

The following fields are returned by SELECT queries:

An array containing the lines of the domain zone file.

NameDatatypeDescription

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_domain_zoneselectReturns the zone file for the last rendered zone for the specified domain.

Learn more...

Learn more...

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

SELECT examples

Returns the zone file for the last rendered zone for the specified domain.

Learn more...

Learn more...

SELECT
*
FROM linode.domains.zone_file;