Skip to main content

Netlify DNS Manager

The netlify-dns-manager is a command-line tool designed to manage DNS records for domains hosted on Netlify. It allows users to either import DNS records from a local zone file into Netlify or export Netlify DNS records to a local zone file.

Features

  • Import DNS Records: Upload DNS records from a local DNS zone file to Netlify.
  • Export DNS Records: Save DNS records from Netlify to a local zone file.

Installation

To install netlify-dns-manager, you need Python 3.6 or higher. You can install this package using pip:

pip install netlify-dns-manager

Usage

Command Line Interface

netlify-dns-manager can be run from the command line with several options.

Importing DNS Records

To import DNS records from a zone file to Netlify, use the following command:

netlify-dns-manage import <token> -zp <path_to_zone_file> -d <domain_name>
  • <token>: Your Netlify access token for authentication.
  • <path_to_zone_file>: The path to your local DNS zone file.
  • <domain_name>: The domain name for which the DNS records will be managed.

Exporting DNS Records

To export DNS records from Netlify to a local zone file, use the following command:

netlify-dns-manage export <token> -d <domain_name>
  • <token>: Your Netlify access token for authentication.
  • <domain_name>: The domain name for which the DNS records will be managed.

Parameters

  • execution_type: Specify 'import' to upload DNS records to Netlify from a zone file, or 'export' to save Netlify DNS records to a local zone file.
  • token: Netlify access token for authentication.
  • zone_path: Path to the local DNS zone file (required for import only).
  • domain_name: Domain name details.

Contributing

Contributions are welcome! For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Support

If you have any questions or encounter any issues, please open an issue on the project's GitHub issue tracker.

Release files for netlify-dns-manager 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for netlify-dns-manager 0.4
File Size Uploaded
netlify_dns_manager-0.4.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for netlify-dns-manager 0.4
File Interpreter ABI Platform
netlify_dns_manager-0.4-py3-none-any.whl Python 3 none any Details

Total release size: 13.8 kB

Release files / netlify_dns_manager-0.4.tar.gz

Download URL netlify_dns_manager-0.4.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7995cf5b26f721694772543c3c2c0ac9079ab9555975802d1ddacab354163128
BLAKE2b-256 checksum
How to use checksums
8ea8025ecf251cac5d2d7e4643c752d6d41c564b1e056a8f4b54cf4977407134
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / netlify_dns_manager-0.4-py3-none-any.whl

Download URL netlify_dns_manager-0.4-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
53eaca01ec95f345a5bfa9bb3c8c3e073df3fb3885614fc7f2208d79e070736a
BLAKE2b-256 checksum
How to use checksums
ac21e0251366968c3f2147e5b7b2fee592685633f648888e12cad5b1e01f3461
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.4 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page