{ "info": { "author": "Pierre Penninckx", "author_email": "ibizapeanut@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# Godaddy IP\n\nMaintains A and CNAME records matching current ip in Godaddy.\n\n## Install\n```\npip install godaddyip\n```\n\nThis installs a script called `godaddyip`.\n\n## Example use case\n\nWith the following configuration file, the daemon will maintain one A\nrecord named `my.domain.com` to the ip of the server the daemon is\nrunning on. It will also maintain two CNAME records\n`www.my.domain.com` and `mail.my.domain.com` to `my.domain.com`.\n\n```yaml\narecord: my\nkey: mygodaddykey\nsecret: mygodaddysecret\ndomain: domain.com\ncnames:\n - www\n - mail\n```\n\n## Configuration\n\nConfiguration files are searched in one of the following\nlocations. Last configuration file found takes precendence.\n* `/etc/godaddyip/godaddyip.yaml`\n* `~/.config/godaddyip/godaddyip.yaml`\n* `./config/godaddyip.yaml`\n\nYou can override the above list of searched paths by giving the\n`--config_files=path[,path,...]` argument.\n\nAdding or removing rules to a configuration file is done by using the\n`configure` argument:\n\n```\ngodaddyip arecord ARECORD\ngodaddyip key KEY\ngodaddyip secret SECRET\ngodaddyip domain DOMAIN\ngodaddyip add-cname CNAME\ngodaddyip del-cname CNAME\n```\n\n## Run\n\nRunning the daemon is done by using the `run` argument:\n\n```\ngodaddyip run [--config_files CONFIG_FILES]\n```\n\nExample output:\n```\n$ python -m godaddyip run --config_files test.yaml\nCurrent ip: \"100.99.98.97\"\nPrevious ip: \"None\"\nSleeping for 5 minutes.\nCurrent ip: \"100.99.98.97\"\nPrevious ip: \"100.99.98.97\"\nSame ip as previous one, nothing to do\nSleeping for 5 minutes.\n```\n\n## Using systemd\n\nThe daemon can start when the system starts by creating a systemd unit\nfile like the following one in\n`/etc/systemd/system/godaddyip.service`.\n\n```\n[Unit]\nDescription=Godaddy ip service\nAfter=network.target\n\n[Service]\nUser=godaddyip\nGroup=godaddyip\nExecStart=/usr/bin/godaddyip run\nExecReload=/bin/kill -s usr1 $MAINPID\n\n[Install]\nWantedBy=default.target\n```\n\nI advice running the daemon with a non-root user. A system user can be\ncreated with `useradd --system godaddyip`.\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/ibizaman/godaddyip/archive/0.1.2.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ibizaman/godaddyip", "keywords": "godaddy", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "godaddyip", "package_url": "https://pypi.org/project/godaddyip/", "platform": "", "project_url": "https://pypi.org/project/godaddyip/", "project_urls": { "Download": "https://github.com/ibizaman/godaddyip/archive/0.1.2.tar.gz", "Homepage": "https://github.com/ibizaman/godaddyip" }, "release_url": "https://pypi.org/project/godaddyip/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "Maintains A and CNAME records matching current ip in Godaddy.", "version": "0.1.2" }, "last_serial": 3931020, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "2f3daa2e9ab28582bef533c0ef4a3e8a", "sha256": "c6422a6f5ce2b9a207b9b93411881be1281dc1d5c8a17b858a37b1d2ae6802a6" }, "downloads": -1, "filename": "godaddyip-0.1.0.tar.gz", "has_sig": false, "md5_digest": "2f3daa2e9ab28582bef533c0ef4a3e8a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4267, "upload_time": "2018-06-04T05:55:07", "url": "https://files.pythonhosted.org/packages/0f/83/719d0001232ab06f48659d9e59e9ee72f5da1bad2c54ddc7ddb34f650229/godaddyip-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "6d8cdb62d48ad1be075af4979c291514", "sha256": "cb25de4433aad8034adb74abc3b9df3b3852b01adcd44e0da623cf8a0d59f303" }, "downloads": -1, "filename": "godaddyip-0.1.1.tar.gz", "has_sig": false, "md5_digest": "6d8cdb62d48ad1be075af4979c291514", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4600, "upload_time": "2018-06-04T06:18:49", "url": "https://files.pythonhosted.org/packages/53/b7/51ac5d76ef3f418efe9117c6f937a8d73564a5b624d44d681dc518be33eb/godaddyip-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "9cdcfb56a7bb0d6c0a63047c850bd6d7", "sha256": "8729229dc3b955fe0c0d7d7e4007f0d2d4650637e803c4d2bc4d7adfdab65152" }, "downloads": -1, "filename": "godaddyip-0.1.2.tar.gz", "has_sig": false, "md5_digest": "9cdcfb56a7bb0d6c0a63047c850bd6d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4586, "upload_time": "2018-06-05T06:40:27", "url": "https://files.pythonhosted.org/packages/38/7c/629dda5a9409a83b75d84f1508432ba67f765b1504777d80baf2c8bc1c1c/godaddyip-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9cdcfb56a7bb0d6c0a63047c850bd6d7", "sha256": "8729229dc3b955fe0c0d7d7e4007f0d2d4650637e803c4d2bc4d7adfdab65152" }, "downloads": -1, "filename": "godaddyip-0.1.2.tar.gz", "has_sig": false, "md5_digest": "9cdcfb56a7bb0d6c0a63047c850bd6d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4586, "upload_time": "2018-06-05T06:40:27", "url": "https://files.pythonhosted.org/packages/38/7c/629dda5a9409a83b75d84f1508432ba67f765b1504777d80baf2c8bc1c1c/godaddyip-0.1.2.tar.gz" } ] }