{ "info": { "author": "Danila Vershinin", "author_email": "info@getpagespeed.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Operating System :: OS Independent", "Topic :: Software Development" ], "description": "# lastversion \n\n[![Build Status](https://travis-ci.org/cloudflareddns/lastversion.svg?branch=master)](https://travis-ci.org/dvershinin/lastversion)\n[![PyPI version](https://badge.fury.io/py/cloudflareddns.svg)](https://badge.fury.io/py/cloudflareddns)\n\nA tiny command line utility for implementing DDNS with Cloudflare.\n\n* Supports virtually any server that is capable of running Python\n* Synology DiskStations supported\n* Quick to install using `pip`\n\n## Synopsys\n\n\n### Linux servers\n\n```\nusage: cloudflareddns [-h] [--email EMAIL] [--key KEY] [--hostname HOSTNAME]\n [--ip IP] [--verbose] [--version]\n\nUpdate DDNS in Cloudflare.\n\noptional arguments:\n -h, --help show this help message and exit\n --email EMAIL Cloudflare account emai\n --key KEY Cloudflare API key\n --hostname HOSTNAME Hostname to set IP for\n --ip IP The IP address\n --verbose\n --version show program's version number and exit\n```\n\n### Synology DiskStations\n\nYou can configure a Synology DiskStation with CloudFlare DDNS.\n \n#### Step 1. Access Synology via SSH\n\n* Login to your DSM\n* Go to Control Panel > Terminal & SNMP > Enable SSH service\n* Use your client or commandline to access Synology. If you don't have any, I recommand you can try out MobaXterm for Windows.\n* Use your Synology admin account to connect.\n* Run the following command to add new DDNS provider:\n\n```\ncat >> /etc/ddns_provider.conf << 'EOF'\n[USER_Cloudflare]\n modulepath=/usr/local/CloudflareDDNS/bin/cloudflareddns-syno\n queryurl=https://www.cloudflare.com/\nEOF\n```\n\n#### Step 2. Install `cloudflareddns`\n\n```\ncurl https://bootstrap.pypa.io/get-pip.py | python\npip install virtualenv\n# create virtualenv twice to ensure creation of \"activate\" script\nvirtualenv /usr/local/CloudflareDDNS\nvirtualenv /usr/local/CloudflareDDNS\n# go inside our virtualenv\n. /usr/local/CloudflareDDNS/bin/activate\n# install the packages we need there (cloudflare will be used in the future):\npip install cloudflareddns\n```\n\n#### Step 3. Get Cloudflare parameters\n\nGo to your account setting page and get API Key.\n\n#### Step 4. Setup DDNS\n\n* Login to your DSM\n* Go to Control Panel > External Access > DDNS > Add\n* Select Cloudflare as service provider. Enter your domain as hostname, your Cloudflare account as Username/Email, and API key as Password/Key\n \n\n### Installation for CentOS 7\n\n yum install https://extras.getpagespeed.com/release-el7-latest.rpm\n yum install python2-cloudflareddns\n \n## Installation for other systems\n\nInstalling with `pip` is easiest:\n\n pip install cloudflareddns", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dvershinin/cloudflareddns", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "cloudflareddns", "package_url": "https://pypi.org/project/cloudflareddns/", "platform": "", "project_url": "https://pypi.org/project/cloudflareddns/", "project_urls": { "Homepage": "https://github.com/dvershinin/cloudflareddns" }, "release_url": "https://pypi.org/project/cloudflareddns/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "A CLI tool to use Cloudflare as a DDNS provider", "version": "0.0.2" }, "last_serial": 5396009, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "63bfe4025156d405ce0a03af069571d6", "sha256": "9cf0b804f6c0e4a7a6b7359f4081c93f10ff3566bd1c81493766841cecbd8416" }, "downloads": -1, "filename": "cloudflareddns-0.0.1.tar.gz", "has_sig": false, "md5_digest": "63bfe4025156d405ce0a03af069571d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5373, "upload_time": "2019-06-13T13:19:13", "url": "https://files.pythonhosted.org/packages/36/ce/68f63eb87c2c5c3b16d452eaf0e8f2a217d71a4ee23650368ad92fdd40fc/cloudflareddns-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "a3b815eb9150088d3d1d20ce625ae86c", "sha256": "47db8a870223a832536b350b81a652c09bcfb49813bdaabda0a489bc87bd3a60" }, "downloads": -1, "filename": "cloudflareddns-0.0.2.tar.gz", "has_sig": false, "md5_digest": "a3b815eb9150088d3d1d20ce625ae86c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5392, "upload_time": "2019-06-13T13:56:51", "url": "https://files.pythonhosted.org/packages/f8/9f/2570a3fd76c728bae679003bb9cd0d355418a7c1fa40af4c68eadf021aaa/cloudflareddns-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a3b815eb9150088d3d1d20ce625ae86c", "sha256": "47db8a870223a832536b350b81a652c09bcfb49813bdaabda0a489bc87bd3a60" }, "downloads": -1, "filename": "cloudflareddns-0.0.2.tar.gz", "has_sig": false, "md5_digest": "a3b815eb9150088d3d1d20ce625ae86c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5392, "upload_time": "2019-06-13T13:56:51", "url": "https://files.pythonhosted.org/packages/f8/9f/2570a3fd76c728bae679003bb9cd0d355418a7c1fa40af4c68eadf021aaa/cloudflareddns-0.0.2.tar.gz" } ] }