## Export DNS Records `dns.records.export(RecordExportParams**kwargs) -> RecordExportResponse` **get** `/zones/{zone_id}/dns_records/export` You can export your [BIND config](https://en.wikipedia.org/wiki/Zone_file "Zone file") through this endpoint. See [the documentation](https://developers.cloudflare.com/dns/manage-dns-records/how-to/import-and-export/ "Import and export records") for more information. ### Parameters - `zone_id: str` Identifier. ### Returns - `str` Exported BIND zone file. ### Example ```python import os from cloudflare import Cloudflare client = Cloudflare( api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted ) response = client.dns.records.export( zone_id="023e105f4ecef8ad9ca31a8372d0c353", ) print(response) ```