Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Add DNSRecords bindConfig functionality #40

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions lib/resources/DNSRecords.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,22 @@ module.exports = auto(
path: ':id',
}),

/**
* export allows for retrieving all DNS Records for a zone in bind configuration format.
*
* @function export
* @memberof DNSRecords
* @instance
* @async
* @param {string} zone_id - The zone ID
* @returns {Promise<Object>} The DNS browser response object.
*/
export: method({
method: 'GET',
path: 'export',
json: false,
}),

/**
* browse allows for listing all DNS Records for a zone
*
Expand Down