{ "info": { "author": "Rafael Goncalves Martins", "author_email": "rafael@rafaelmartins.eng.br", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7" ], "description": "dnsimple-dyndns\n===============\n\nDynamic DNS implementation, that relies on DNSimple.com\n\nThis is a simple script that updates (and creates, if needed) an ``A`` domain record for any\n``DNSimple.com`` managed domain. It is designed to be run as a hook script right after the\nWAN connection.\n\n\nUsage\n-----\n\n```\nusage: dnsimple-dyndns [-h] [-v] [-t TTL] [-i IP]\n DOMAIN DOMAIN-TOKEN RECORD-NAME\n\nDynamic DNS implementation, that relies on DNSimple.com.\n\npositional arguments:\n DOMAIN domain controlled by DNSimple.com\n DOMAIN-TOKEN DNSimple.com domain API key.\n RECORD-NAME name of the record to be updated.\n\noptional arguments:\n -h, --help show this help message and exit\n -v, --version show program's version number and exit\n -t TTL, --ttl TTL DNS record TTL, defaults to 60\n -i IP, --ip IP IP address, defaults to current external address from\n http://icanhazip.com/\n```\n\n\nRunning on Gentoo with OpenRC\n-----------------------------\n\nTo run this script on Gentoo with OpenRC, you should emerge the ``dnsimple-dyndns`` package:\n\n```\n# emerge -av dnsimple-dyndns\n```\n\nThen add the following function to your ``/etc/conf.d/net`` file (or edit your postup function,\nif already exists):\n\n```bash\npostup() {\n if [[ \"${IFACE}\" = \"enp3s0\" ]]; then\n einfo \"Updated DNS record: $(dnsimple-dyndns example.com your-domain-token home)\"\n else\n einfo \"Ignoring interface: ${IFACE}\"\n fi\n}\n```\n\nReplace ``enp3s0`` with your WAN interface, ``example.com`` with your DNSimple.com managed domain,\n``your-domain-token`` with your DNSimple.com domain token\n(see http://developer.dnsimple.com/authentication/#dnsimple-domain-token) and ``home`` with your\ndesired DNS record name.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rafaelmartins/dnsimple-dyndns", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "dnsimple-dyndns", "package_url": "https://pypi.org/project/dnsimple-dyndns/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/dnsimple-dyndns/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/rafaelmartins/dnsimple-dyndns" }, "release_url": "https://pypi.org/project/dnsimple-dyndns/0.1/", "requires_dist": null, "requires_python": null, "summary": "Dynamic DNS implementation, that relies on DNSimple.com.", "version": "0.1" }, "last_serial": 923258, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "550535f8708b5889b9d6281251ec80d1", "sha256": "5290db4354f3f015e78d7d689f5c7fe876bb9f073f9a765ed3adc67aae8243d9" }, "downloads": -1, "filename": "dnsimple-dyndns-0.1.tar.gz", "has_sig": false, "md5_digest": "550535f8708b5889b9d6281251ec80d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4453, "upload_time": "2013-11-19T03:20:17", "url": "https://files.pythonhosted.org/packages/14/3a/d2f2f6011e4f9f6c1bbe604ea39cb9bfdb7e3c615fbeb652750d00944e13/dnsimple-dyndns-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "550535f8708b5889b9d6281251ec80d1", "sha256": "5290db4354f3f015e78d7d689f5c7fe876bb9f073f9a765ed3adc67aae8243d9" }, "downloads": -1, "filename": "dnsimple-dyndns-0.1.tar.gz", "has_sig": false, "md5_digest": "550535f8708b5889b9d6281251ec80d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4453, "upload_time": "2013-11-19T03:20:17", "url": "https://files.pythonhosted.org/packages/14/3a/d2f2f6011e4f9f6c1bbe604ea39cb9bfdb7e3c615fbeb652750d00944e13/dnsimple-dyndns-0.1.tar.gz" } ] }