diff --git a/lib/resources/DNSRecords.js b/lib/resources/DNSRecords.js index 6f7b405..bfce680 100644 --- a/lib/resources/DNSRecords.js +++ b/lib/resources/DNSRecords.js @@ -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} The DNS browser response object. + */ + export: method({ + method: 'GET', + path: 'export', + json: false, + }), + /** * browse allows for listing all DNS Records for a zone *