{ "info": { "author": "madflojo", "author_email": "ben@bencane.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Topic :: Internet :: Name Service (DNS)" ], "description": "cfdns\n=====\n\nCLI tool for manipulating DNS of CloudFlare hosted domains. This tool\nuses CloudFlare's v4 API to **add**, **remove**, **list**, or **modify**\nDNS records.\n\nInstallation\n------------\n\nInstall using ``pip``.\n\n.. code:: shell\n\n $ pip install cfdns\n\nUsage\n-----\n\n::\n\n optional arguments:\n -h, --help show this help message and exit\n -v, --verbose Enable verbosity\n\n Actions:\n {add,remove,modify,list}\n add Add DNS Records\n remove Remove DNS records\n modify Modify existing records\n list List existing records\n\nListing records\n~~~~~~~~~~~~~~~\n\nList DNS records or a set of DNS records by calling the ``list`` action.\n\n**Syntax:**\n\n.. code:: shell\n\n $ cfdns list \n\n**Additional arguments:**\n\n- ``--name`` - Match records with the specified name\n- ``--type`` - Match records with the specified type **A**, **AAAA**,\n **CNAME**, or **MX**\n- ``--content`` - Match records with the specified content\n\n**Examples:**\n\n.. code:: shell\n\n $ cfdns list email@example.com 12345api\n $ cfdns list email@example.com 12345api --name www.example.com\n $ cfdns list email@example.com 12345api --name www.example.com --type A\n $ cfdns list email@example.com 12345api --name www.example.com --type A --content 10.0.0.1\n $ cfdns list email@example.com 12345api --type A\n $ cfdns list email@example.com 12345api --type A --content 10.0.0.1\n $ cfdns list email@example.com 12345api --content 10.0.0.1\n\nAdding a Record\n~~~~~~~~~~~~~~~\n\nAdd DNS records with the ``add`` action.\n\n**Syntax:**\n\n.. code:: shell\n\n $ cfdns add \n\nSupported record types are: ``A``, ``AAAA``, ``CNAME``, & ``MX``\n\n**Additional Arguments:**\n\n- ``--ttl`` - Specify the TTL value (default: 0)\n- ``--noproxy`` - Disable CloudFlare's proxying\n\n**Examples:**\n\n.. code:: shell\n\n $ cfdns add email@example.com 12345api example.com www.example.com A 10.0.0.1\n $ cfdns add email@example.com 12345api example.com www.example.com A 10.0.0.1 --ttl 20\n $ cfdns add email@example.com 12345api example.com www.example.com A 10.0.0.1 --noproxy\n\nRemoving a Record\n~~~~~~~~~~~~~~~~~\n\nRemove one or more DNS records with the ``remove`` action.\n\n**Syntax:**\n\n.. code:: shell\n\n $ cfdns remove --name --content \n\nThe ``--name`` or ``--content`` flags can be used together or on their\nown to limit the number of records to be deleted. At least one flag must\nbe used or no records will be deleted.\n\n- ``--name`` - Match records with a specified name\n- ``--content`` - Match records with a specified content\n\n**Examples:**\n\n.. code:: shell\n\n $ cfdns remove email@example.com 12345api example.com --name test.example.com --content 10.0.0.1\n $ cfdns remove email@example.com 12345api example.com --name test.example.com\n $ cfdns remove email@example.com 12345api example.com --content 10.0.0.1\n\nModify a Record\n~~~~~~~~~~~~~~~\n\nModify DNS records using the ``modify`` action.\n\n**Syntax:**\n\n.. code:: shell\n\n $ cfdns modify \n\nYou can add the ``--name`` flag to restrict updates to only the named\nrecord. By default all records with the matching \"old content\" will be\nupdated.\n\n**Examples:**\n\n.. code:: shell\n\n $ cfdns modify email email@example.com 12345api example.com 10.0.0.1 A 10.0.0.2\n $ cfdns modify email email@example.com 12345api example.com 10.0.0.1 A 10.0.0.2 --name www.example.com", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/madflojo/cfdns", "keywords": "", "license": "Apache 2", "maintainer": "", "maintainer_email": "", "name": "cfdns", "package_url": "https://pypi.org/project/cfdns/", "platform": "", "project_url": "https://pypi.org/project/cfdns/", "project_urls": { "Homepage": "https://github.com/madflojo/cfdns" }, "release_url": "https://pypi.org/project/cfdns/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "Command line tool for manipulating DNS of CloudFlare hosted domains", "version": "0.1.1" }, "last_serial": 2824109, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a4a4239cf90f139fa81c7e91220c1bca", "sha256": "f677bb5f8a316527f8bdd18976c190eb9ab4faccfa2c37ae96c0a4d63098abe9" }, "downloads": -1, "filename": "cfdns-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a4a4239cf90f139fa81c7e91220c1bca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5078, "upload_time": "2017-04-23T20:59:37", "url": "https://files.pythonhosted.org/packages/09/a1/4ee92f2c764eef9ce5cf82a434fadb62310c763069ebabae3d3bad067d38/cfdns-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "458ad432b83ddfe1cb9d3657e5ecd0c9", "sha256": "ffba4269dab5b3495f07b26bc12ad1368011b9c8185999727c7e1e7edffd7814" }, "downloads": -1, "filename": "cfdns-0.1.1.tar.gz", "has_sig": false, "md5_digest": "458ad432b83ddfe1cb9d3657e5ecd0c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5446, "upload_time": "2017-04-23T21:29:15", "url": "https://files.pythonhosted.org/packages/01/19/b35771f12743eb0defb81e99b253c91c08cd6a69e1c1545850129671f5d0/cfdns-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "458ad432b83ddfe1cb9d3657e5ecd0c9", "sha256": "ffba4269dab5b3495f07b26bc12ad1368011b9c8185999727c7e1e7edffd7814" }, "downloads": -1, "filename": "cfdns-0.1.1.tar.gz", "has_sig": false, "md5_digest": "458ad432b83ddfe1cb9d3657e5ecd0c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5446, "upload_time": "2017-04-23T21:29:15", "url": "https://files.pythonhosted.org/packages/01/19/b35771f12743eb0defb81e99b253c91c08cd6a69e1c1545850129671f5d0/cfdns-0.1.1.tar.gz" } ] }