{ "info": { "author": "Daniel Monteiro Basso", "author_email": "daniel@basso.inf.br", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Twisted", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Programming Language :: Python :: 2", "Topic :: Internet :: Name Service (DNS)" ], "description": "DNS Plugin for Phen\n===================\n\nSimple DNS server for sites based on Phen, or for keeping track of\ncomputers with dynamic IP addresses. Other plugins can use the internal\nextension mechanism to add records, e.g. the mail plugin can add MX and\nSPF records.\n\nExample configuration file ``/device-id/system/dns.jcfg``:\n\n::\n\n {\n \"verbose\": false, # log requests (default false)\n \"http-path\": \"dns\", # for IP update through http(s) request (requires the\n # http plugin to be loaded; default \"\", i.e. disabled)\n # file that keeps the dynamic IP associations:\n \"dyn-state\": \"/path/to/state file\", # default /device-id/system/dns.state\n \"recursive\": false, # for non-authoritative servers (default false)\n \"zones\": {\n \"phen.eu\": [\n {\n \"mname\": \"ns1.phen.eu\", # type SOA implied\n \"rname\": \"contact.phen.eu\",\n \"serial\": 201512150, # if -1, makes a serial based on date\n \"refresh\": \"20 min\",\n \"retry\": \"5 min\",\n \"expire\": \"14 days\",\n \"minimum\": \"5 min\"\n },\n {\"type\": \"A\", \"address\": \"78.47.100.138\"},\n {\"type\": \"AAAA\", \"address\": \"2a01:4f8:c17:1bff::2\"},\n {\"type\": \"NS\", \"name\": \"ns1.phen.eu\"},\n {\"subdomain\": \"ns1\", \"type\": \"A\", \"address\": \"78.47.100.138\"},\n {\"subdomain\": \"www\", \"type\": \"A\", \"address\": \"78.47.100.138\"},\n {\"subdomain\": \"opo\",\n \"type\": \"CNAME\", \"name\": \"some.dyndns.moo\", \"ttl\": \"5 min\"},\n\n {\"subdomain\": \"cxs\", \"type\": \"A\",\n # identity fingerprint to retrieve the IP address:\n \"dynamic\": \"mlUDK5IPJYwAD0D6aINCAIbcc20QFqw4CHqwaUSJSIk\",\n \"ttl\": 300},\n\n {\"subdomain\": \"poa\", \"type\": \"A\",\n # sha256(my-secret-password) for updates through http:\n \"dynamic\": \">a9c90c47c231afb31950169ccb89951337eb0689d31660e32c34835bb7018c0c\",\n \"ttl\": 300}\n ]\n }\n }\n\nPhen's shell has the ``sha256`` command that can be used to calculate\nthe value for the ``dynamic`` attribute. The to update the dynamic dns\nentry, you can use a tool such as w3m or wget:\n\n::\n\n wget \"https://phen.eu/dns?pwd=my-secret-password&domain=poa.phen.eu&ip=4.3.2.1\"\n\nIf you are using a self-signed certificate, use the\n``--no-check-certificate`` option. You only have to inform the IP\naddress explicitly if it is different than the one from the originating\nrequest.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://phen.eu", "keywords": null, "license": "AGPLv3+", "maintainer": null, "maintainer_email": null, "name": "phen.dns", "package_url": "https://pypi.org/project/phen.dns/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/phen.dns/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://phen.eu" }, "release_url": "https://pypi.org/project/phen.dns/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Domain Name Server for Phen", "version": "0.1.1" }, "last_serial": 1884651, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "afcdede6edd7259a3009029abcf72430", "sha256": "667ed1f6a851170bea7176820d4517a22458c0474596813aa86b1b8796b8d624" }, "downloads": -1, "filename": "phen.dns-0.1.0.zip", "has_sig": false, "md5_digest": "afcdede6edd7259a3009029abcf72430", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7434, "upload_time": "2015-12-31T21:52:51", "url": "https://files.pythonhosted.org/packages/be/60/54f45c047f98b7d531a473ca6c5120ad12d91e3aaacdbeb11b8d59315355/phen.dns-0.1.0.zip" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "61084a7b0f5afa7e62a95bfdc78ef89b", "sha256": "62a7e19c989d8db511c7c8ac5bb4a0450861d872ba9a0ee844bef6650191e1b8" }, "downloads": -1, "filename": "phen.dns-0.1.1.zip", "has_sig": false, "md5_digest": "61084a7b0f5afa7e62a95bfdc78ef89b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9809, "upload_time": "2016-01-01T21:20:31", "url": "https://files.pythonhosted.org/packages/d2/29/509d459e510816d377db073cf5ebfec541d5074d32dcdd359800b5e63a23/phen.dns-0.1.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "61084a7b0f5afa7e62a95bfdc78ef89b", "sha256": "62a7e19c989d8db511c7c8ac5bb4a0450861d872ba9a0ee844bef6650191e1b8" }, "downloads": -1, "filename": "phen.dns-0.1.1.zip", "has_sig": false, "md5_digest": "61084a7b0f5afa7e62a95bfdc78ef89b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9809, "upload_time": "2016-01-01T21:20:31", "url": "https://files.pythonhosted.org/packages/d2/29/509d459e510816d377db073cf5ebfec541d5074d32dcdd359800b5e63a23/phen.dns-0.1.1.zip" } ] }