auto-dns


Nameauto-dns JSON
Version 0.1.2 PyPI version JSON
download
home_page
SummaryA DNS Python Library.
upload_time2023-07-28 23:20:32
maintainer
docs_urlNone
authorAli Tavallaie
requires_python>=3.10,<4.0
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ===================
Auto DNS Python CLI
===================

Auto DNS is a Python command line application which automatically updates the DNS records of your domain using various DNS providers.

Supported DNS providers:

- Arvan
- Cloudflare [coming soon]

This library is intended to be used on a system with a dynamic public IP that you want to map to a static domain name.

Installation
============

The package can be installed using pip:

.. code-block:: shell

   $ pip install auto-dns

Or if you prefer, you can use Poetry:

.. code-block:: shell

   $ poetry add auto-dns

Configuration
=============

To configure a DNS provider API key, use the following command:

.. code-block:: shell

   $ autodns set_api_key <provider> <api_key>

Usage
=====

To create a DNS record:

.. code-block:: shell

   $ autodns create <domain> <record_type> <name> <provider> --ip <ip_address>

To update a DNS record with your current public IP, use the following command:

.. code-block:: shell

   $ autodns update <domain> <record_type> <name> <provider> --ip <ip_address>

To delete a DNS record:

.. code-block:: shell

   $ autodns delete <domain> <record_type> <name> <provider>

To get DNS records:

.. code-block:: shell

   $ autodns get_record <domain> <provider> --record-type <record_type> --name <name>

Contributing
============

Contributions are welcome! Please feel free to submit a Pull Request.

License
=======

Auto DNS is released under the MIT License.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "auto-dns",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Ali Tavallaie",
    "author_email": "a.tavallaie@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ca/31/861bb9f6942b5fca9b5f23fbb7e10adfd8b4fbc618f34b524fa40e69921d/auto_dns-0.1.2.tar.gz",
    "platform": null,
    "description": "===================\nAuto DNS Python CLI\n===================\n\nAuto DNS is a Python command line application which automatically updates the DNS records of your domain using various DNS providers.\n\nSupported DNS providers:\n\n- Arvan\n- Cloudflare [coming soon]\n\nThis library is intended to be used on a system with a dynamic public IP that you want to map to a static domain name.\n\nInstallation\n============\n\nThe package can be installed using pip:\n\n.. code-block:: shell\n\n   $ pip install auto-dns\n\nOr if you prefer, you can use Poetry:\n\n.. code-block:: shell\n\n   $ poetry add auto-dns\n\nConfiguration\n=============\n\nTo configure a DNS provider API key, use the following command:\n\n.. code-block:: shell\n\n   $ autodns set_api_key <provider> <api_key>\n\nUsage\n=====\n\nTo create a DNS record:\n\n.. code-block:: shell\n\n   $ autodns create <domain> <record_type> <name> <provider> --ip <ip_address>\n\nTo update a DNS record with your current public IP, use the following command:\n\n.. code-block:: shell\n\n   $ autodns update <domain> <record_type> <name> <provider> --ip <ip_address>\n\nTo delete a DNS record:\n\n.. code-block:: shell\n\n   $ autodns delete <domain> <record_type> <name> <provider>\n\nTo get DNS records:\n\n.. code-block:: shell\n\n   $ autodns get_record <domain> <provider> --record-type <record_type> --name <name>\n\nContributing\n============\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\nLicense\n=======\n\nAuto DNS is released under the MIT License.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A DNS Python Library.",
    "version": "0.1.2",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c3336413f20673c3acf0dca44a63f6dcc36de1baf943b66ae2e461606f332c99",
                "md5": "e31159d66d3a362c8433120c0f26b9a7",
                "sha256": "6e372cf2c5ee0242449bc5ed1ce52a4dbbb29fc59242e041c920be0515753b05"
            },
            "downloads": -1,
            "filename": "auto_dns-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e31159d66d3a362c8433120c0f26b9a7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<4.0",
            "size": 6153,
            "upload_time": "2023-07-28T23:20:30",
            "upload_time_iso_8601": "2023-07-28T23:20:30.801576Z",
            "url": "https://files.pythonhosted.org/packages/c3/33/6413f20673c3acf0dca44a63f6dcc36de1baf943b66ae2e461606f332c99/auto_dns-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ca31861bb9f6942b5fca9b5f23fbb7e10adfd8b4fbc618f34b524fa40e69921d",
                "md5": "a8b9e03c4b10845499b6f1ea074ebe01",
                "sha256": "be6a1be1c11542200a5bb4c2953294401ea22e4f460ab6e21f1b0c24ac8977a7"
            },
            "downloads": -1,
            "filename": "auto_dns-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "a8b9e03c4b10845499b6f1ea074ebe01",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<4.0",
            "size": 4847,
            "upload_time": "2023-07-28T23:20:32",
            "upload_time_iso_8601": "2023-07-28T23:20:32.418864Z",
            "url": "https://files.pythonhosted.org/packages/ca/31/861bb9f6942b5fca9b5f23fbb7e10adfd8b4fbc618f34b524fa40e69921d/auto_dns-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-28 23:20:32",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "auto-dns"
}
        
Elapsed time: 2.88798s