{ "info": { "author": "Javinator9889", "author_email": "javialonso007@hotmail.es", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# GoDaddy 'A' Record Updater\n\n*DDNS Service for updating dynamically your GoDaddy 'A' Records when your public IP changes*\n\n## Index\n\n 1. [Purpose](#purpose)\n 2. [Installation](#installation)\n 3. [Usage](#usage)\n 4. [License](#license)\n \n------------\n\n### Purpose\n\nIf you are a *GoDaddy* user (you have your own domain, CNAMES, etc.) maybe you have noticed that there is no **Dynamic \nDNS** (*DDNS*) update service, so you have to manually put your **public IP** at your domain 'A' Record whenever it \nchanges.\n\nTherefore, other possibilities exists such as *having a No-IP domain* and make all your CNAMEs point to that DNS, \nenabling redirection from the source domain (e.g.: example.com) to an *www* domain (e.g.: www.example.com).\n\nWith this script/service, you can configure a **daemon** which will be running in the background, periodically checking\nfor your public IP for seeing if it has changed. If you want also, you can configure it to run only once.\n\n### Installation\n\n**NOTICE: THIS SCRIPT IS ONLY RUNNING ON SYSTEMS WITH PYTHON 3 AND ABOVE**\n\nThere are two possibilities for installing this script:\n\n#### 1. Using *setup.py*\n \n Start by *cloning* this repository. For that, you will need to have \n [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) installed. Then, run on Git Bash:\n ```text\n git clone https://gitlab.javinator9889.com/Javinator9889/pyGoDaddyAUpdater.git\n ```\n \n There is another possibility so you can *directly download* a compressed file with all the necessary data. Just unzip\n it and continue with the steps below.\n \n For installing, you will need **administrator** permissions, as the script is creating a new command so you can run\n it from everywhere:\n ```text\n cd pyGoDaddyAUpdater\n sudo python3 setup.py install\n ```\n \n#### 2. Using *pip* (easier and faster)\n \n I assume you have [**pip** installed](https://www.makeuseof.com/tag/install-pip-for-python/), so for using this package:\n ```text\n sudo pip install pyGoDaddyUpdater\n # If you have any error saying that at least Python 3 is needed\n # try with the following one:\n sudo pip3 install pyGoDaddyUpdater\n ```\n \n### Usage\n\nFirst of all, you need to create a [**GoDaddy Developer Account**](https://developer.godaddy.com/getstarted), \nand obtaining your *key* and *secret*. The pair you need to create are the **Production** ones, which are hosted at\nhttps://api.godaddy.com (https://api.ote-godaddy.com is not supported).\n\nYou can obtain the necessary data here: https://developer.godaddy.com/keys (use the name you want).\n\n---------\n\nOnce you have installed the script, the execution is simple (from your command line):\n```text\n$ godaddy_ddns [OPTIONS]\n```\n\nThe available options are:\n\n + `--domain DOMAIN`: specifies **which domain** will be updated. That is, if your site is hosted at www.example.com, then your\n domain is *example.com*.\n \n + `--name NAME`: here the 'A' Record name must be included. In most cases, this name usually is `@` (the name pointing to \n the host).\n \n + `--time TIME`: change the *update check interval* time (in minutes). By default, it is 5 minutes.\n \n + `--key KEY`: the *GoDaddy Developer key* you obtained as explained before.\n \n + `--secret SECRET`: the *GoDaddy Developer secret* you obtained as explained before.\n \n + `--no_daemonize`: include this option for running this script **only once**.\n \n + `--pid PID FILE`: define your own PID file, in which the running daemon PID will be saved. By default, it is: \n `/var/run/pygoddady/app.pid`.\n \n + `--log LOG FILE`: define your own LOG file, in which the running daemon logs will be saved. By default, it is:\n `/var/log/pygoddady.log`.\n \n + `--preferences PREFERENCES FILE`: if you are planning to dynamically update **more than one** domain at the same \n time, you can define a custom preferences file (if not, each time you run the daemon it will be overwritten).\n \n + `--user USERNAME`: if for any reason you need to run this script as another user (for example, because of the \n permissions for saving logs and the PID file), include here your username (you must run the script as admin).\n \n + `--group GROUP NAME`: if for any reason you need to run this script as another group (for example, because of the \n permissions for saving logs and the PID file), include here your username (you must run the script as admin).\n \nThe first time you execute this script (or for defining a new preferences file), you must include (only the first time):\n + Domain.\n + Name.\n + Key.\n + Secret.\n\nThen, each time you execute the script with no *extra arguments* or *providing the preferences file* you will not need\nto include the options mentioned above.\n\n### License\n\n```text\n pyGoDaddyAUpdater\n Copyright (C) 2019 - Javinator9889\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with this program. If not, see .\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://gitlab.javinator9889.com/Javinator9889/pyGoDaddyAUpdater/repository/master/archive.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.javinator9889.com/Javinator9889/pyGoDaddyAUpdater", "keywords": "", "license": "GPL-3.0", "maintainer": "", "maintainer_email": "", "name": "pyGoDaddyUpdater", "package_url": "https://pypi.org/project/pyGoDaddyUpdater/", "platform": "", "project_url": "https://pypi.org/project/pyGoDaddyUpdater/", "project_urls": { "Download": "https://gitlab.javinator9889.com/Javinator9889/pyGoDaddyAUpdater/repository/master/archive.zip", "Homepage": "https://gitlab.javinator9889.com/Javinator9889/pyGoDaddyAUpdater" }, "release_url": "https://pypi.org/project/pyGoDaddyUpdater/1.1/", "requires_dist": null, "requires_python": "", "summary": "DDNS service for dynamically update GoDaddy A Records", "version": "1.1" }, "last_serial": 4992376, "releases": { "1.1": [ { "comment_text": "", "digests": { "md5": "c3687d98ade0e7c4ce4118c16f904537", "sha256": "58e16078bd8f5cf79090f916945c3a4aa719c8a03e484cd052872c4e0fc01e2d" }, "downloads": -1, "filename": "pyGoDaddyUpdater-1.1.tar.gz", "has_sig": false, "md5_digest": "c3687d98ade0e7c4ce4118c16f904537", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11078, "upload_time": "2019-03-27T12:09:35", "url": "https://files.pythonhosted.org/packages/db/76/ec92e607d8c4f3b3d640440d93ef8b2af6a72b31a575290cbb68ac57feb7/pyGoDaddyUpdater-1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c3687d98ade0e7c4ce4118c16f904537", "sha256": "58e16078bd8f5cf79090f916945c3a4aa719c8a03e484cd052872c4e0fc01e2d" }, "downloads": -1, "filename": "pyGoDaddyUpdater-1.1.tar.gz", "has_sig": false, "md5_digest": "c3687d98ade0e7c4ce4118c16f904537", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11078, "upload_time": "2019-03-27T12:09:35", "url": "https://files.pythonhosted.org/packages/db/76/ec92e607d8c4f3b3d640440d93ef8b2af6a72b31a575290cbb68ac57feb7/pyGoDaddyUpdater-1.1.tar.gz" } ] }