{ "info": { "author": "Fran\u00e7ois Schmidts", "author_email": "francois@schmidts.fr", "bugtrack_url": null, "classifiers": [ "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Programming Language :: Python :: 3", "Topic :: Internet :: Name Service (DNS)", "Topic :: System :: Networking" ], "description": "# DynHost\nMultiple DynDNS updating script\n\n## Purpose\n\nThis script supports the [OVH](https://www.ovh.com) API for dynamic DNS updates. It allows you to specify several host to update with your public IPv4.\n\nOVH originally distributed a script from which I'm freely inspired.\n\n## Installation\n\nYou can install the script manually or simply use the [pypi](https://pypi.org/project/DynHost/) package through ``pip``.\n\n```bash\npip3 install DynHost\n```\n\n### Edit the configuration\n\nDynHost entire behavior is dictated by a configuration file which can be located either at ``~/.config/dynhost.cfg`` or at ``/etc/dynhost.cfg``. They have to be written in the [INI](https://en.wikipedia.org/wiki/INI_file).\n\nHere's a short configuration example:\n\n```cfg\n[myDomain]\nusername=jaesivsm\npassword=MyPassword\ndomain=mydomain.com\n ```\n\nWhat you have to know about that file is that every \" section \" is an FQDN that you can update. The title of the section is of no importance but it's advised to put something recognisable. Three option are mandatory for each section :\n * ``username``: The username given by your DNS provider for its API.\n * ``password``: The password you've chosen for that entry.\n * ``domain``: The domain to update.\n\nA special section named ``DEFAULT`` can be added, it will hold default values for all the other sections.\nHere are the different option available in the default section:\n * ``dyndns_host``, ``dyndns_nic``, ``back_mx``, ``system``, ``wildcard``: Those are option directly passed to the remote dynhost system. You won't have to update them if you're using OVH.\n * ``loglevel``: The verbosity of the script, available levels are, from the least to the most verbose : DEBUG, INFO, WARNING, ERROR and FATAL.\n * ``cache_file``: The path to the file the script will write the cache file. The default path aim at a ``/run/`` subfolder, which is supposed to be in-memory but you can put it wherever you waant.\n * ``loop_time_sec``: only if ran through SystemD, the wait time between to run in seconds, see the SystemD chapter about that.\n\n*Note: you can also copy it in your private home folder in ```~/.config/``` but you'll have to run the script as your own user (so no SystemD)*\n\n#### If you want to use SystemD\n\nFind and activate the SystemD service file. Be aware that its path may vary depending on you systemd configuration: for example, as root on a debian Stretch, the service was copied here ``/usr/local/lib/python3.5/dist-packages/etc/systemd/system/dynhost.service`` by pip.\n\nYou can also copy it from the repository.\n\n```bash\nsystemctl enable \nsystemctl daemon-reload\nsystemctl start dynhost.service\n```\n\nYou should see SystemD tell you the service is ok and running with :\n```bash\nsystemctl status dynhost.service\n```\n\n#### If you want to use cron\nEdit the crontab you want and set it to run every few minutes.\n\n```\n*/2 * * * * /usr/local/bin/dynhost\n```\n\n# Debugging\n\nAll Dynhost logs are forwarded to SysLog so ``grep DynHost /var/log/syslog`` should be enough. You can also use SystemD logging mechanism if you're using it.", "description_content_type": null, "docs_url": "https://pythonhosted.org/DynHost/", "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jaesivsm/DynHost", "keywords": "dynhost dyndhs ovh", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "DynHost", "package_url": "https://pypi.org/project/DynHost/", "platform": "", "project_url": "https://pypi.org/project/DynHost/", "project_urls": { "Homepage": "https://github.com/jaesivsm/DynHost" }, "release_url": "https://pypi.org/project/DynHost/1.0.5/", "requires_dist": null, "requires_python": "", "summary": "Multiple DynDNS updating script", "version": "1.0.5" }, "last_serial": 3602368, "releases": { "1.0.1": [], "1.0.2": [ { "comment_text": "", "digests": { "md5": "f84ef754efe15d5b8646dbc5fe702d53", "sha256": "30be672406141501f7271158a1aca66d3a439441aa0b85a97222f93565d68f35" }, "downloads": -1, "filename": "DynHost-1.0.2.tar.gz", "has_sig": false, "md5_digest": "f84ef754efe15d5b8646dbc5fe702d53", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2674, "upload_time": "2017-08-05T08:15:36", "url": "https://files.pythonhosted.org/packages/52/78/84cd6c91d3e2fbc1c6af850bfe731a8b91a8f5a53ed13d6ce78e6eaca9f7/DynHost-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "035f7f349086a821cd38d732394554fb", "sha256": "e90be3763f4bb4fa84c781e66fa5c75051053f022efb2b5eab9c2ed668b3303d" }, "downloads": -1, "filename": "DynHost-1.0.3.tar.gz", "has_sig": false, "md5_digest": "035f7f349086a821cd38d732394554fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4194, "upload_time": "2017-08-06T09:38:22", "url": "https://files.pythonhosted.org/packages/2e/5c/45c27d13ae88c8d5a4545ebc2d41bd13cc1bd6b766a67ec6cd1fba49a8a8/DynHost-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "614b22705732d66a468a09752c9fe86d", "sha256": "2dfd9bf8bb138884d2d52a8e6c046df2b04709e02112caeee0e56067cfc91940" }, "downloads": -1, "filename": "DynHost-1.0.4.tar.gz", "has_sig": false, "md5_digest": "614b22705732d66a468a09752c9fe86d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4207, "upload_time": "2017-08-06T09:41:23", "url": "https://files.pythonhosted.org/packages/59/8f/66048c6a6e643cfce026204a35bc449815221762d48f4007a0b56fff4495/DynHost-1.0.4.tar.gz" } ], "1.0.4.dev1": [ { "comment_text": "", "digests": { "md5": "a3638ecd20aca34ba849fad2487ab88d", "sha256": "5a2d6310588a2661f21db4f5d9459fdf82b4974247bde9cfffd21ac9aedd9be3" }, "downloads": -1, "filename": "DynHost-1.0.4.dev1.tar.gz", "has_sig": false, "md5_digest": "a3638ecd20aca34ba849fad2487ab88d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4400, "upload_time": "2017-08-06T09:51:47", "url": "https://files.pythonhosted.org/packages/d4/0b/76b0d9c4235f693f41de041709d86ec7a4bbe085a944ef3a9bc6ff2f70e7/DynHost-1.0.4.dev1.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "02650e82040a3bd9199606c4787169ea", "sha256": "f1c1283a876c5a0ecd3f9f9843166374195a0cea0fde142ac1a631db0c1f77b8" }, "downloads": -1, "filename": "DynHost-1.0.5.tar.gz", "has_sig": false, "md5_digest": "02650e82040a3bd9199606c4787169ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4389, "upload_time": "2017-08-06T09:55:25", "url": "https://files.pythonhosted.org/packages/09/2c/7baf6c45db328111b713da4a5703a8c80d5618e8bd70b186481ca79895c4/DynHost-1.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "02650e82040a3bd9199606c4787169ea", "sha256": "f1c1283a876c5a0ecd3f9f9843166374195a0cea0fde142ac1a631db0c1f77b8" }, "downloads": -1, "filename": "DynHost-1.0.5.tar.gz", "has_sig": false, "md5_digest": "02650e82040a3bd9199606c4787169ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4389, "upload_time": "2017-08-06T09:55:25", "url": "https://files.pythonhosted.org/packages/09/2c/7baf6c45db328111b713da4a5703a8c80d5618e8bd70b186481ca79895c4/DynHost-1.0.5.tar.gz" } ] }