{ "info": { "author": "henning@jacobs1.de", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "===========\nLocal CNAME\n===========\n\n.. image:: https://img.shields.io/pypi/v/local-cname.svg\n :target: https://pypi.python.org/pypi/local-cname\n :alt: Latest Version\n\n.. image:: https://img.shields.io/pypi/status/local-cname.svg\n :target: https://pypi.python.org/pypi/local-cname\n :alt: Development Status\n\n.. image:: https://img.shields.io/pypi/pyversions/local-cname.svg\n :target: https://pypi.python.org/pypi/local-cname\n :alt: Python Versions\n\n.. image:: https://img.shields.io/pypi/l/local-cname.svg\n :target: https://github.com/hjacobs/local-cname/blob/master/LICENSE\n :alt: License\n\nThis is a little helper script to emulate a local CNAME DNS by writing to ``/etc/hosts``.\nDNS changes (e.g. to rollout new services) can be tested by overwriting DNS names in the local ``/etc/hosts`` file.\nThe hosts file only supports IP addresses thus making it cumbersome to emulate a DNS ``CNAME`` without a local DNS server/proxy.\nThe ``local-cname`` is a very small script to automatically lookup DNS names and write IP addresses to the hosts file.\nIt is self-contained and restores your local ``/etc/hosts`` file on exit (press CTRL+C).\n\nInstallation:\n\n.. code-block::\n\n $ sudo pip install -U local-cname\n\nUsage:\n\n.. code-block::\n\n $ sudo local-cname FROM_DNS_NAME TO_DNS_NAME\n # press CTRL+C to cancel and restore your old /etc/hosts\n\nExample:\n\n.. code-block::\n\n $ sudo local-cname google.com duckduckgo.com\n $ ping google.com\n\n\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hjacobs/local-cname", "keywords": "dns hosts local", "license": "GNU General Public License v3 (GPLv3)", "maintainer": "", "maintainer_email": "", "name": "local-cname", "package_url": "https://pypi.org/project/local-cname/", "platform": "", "project_url": "https://pypi.org/project/local-cname/", "project_urls": { "Homepage": "https://github.com/hjacobs/local-cname" }, "release_url": "https://pypi.org/project/local-cname/0.3/", "requires_dist": [ "clickclick" ], "requires_python": "", "summary": "Helper script to emulate a local CNAME DNS by writing to /etc/hosts", "version": "0.3" }, "last_serial": 2754501, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "91519d5ec18d1c1642bac3c1804f4a00", "sha256": "6146ebbc83391c2c338bf0d9110854b9b44f5e45f478b40e26a1ccdb27643d38" }, "downloads": -1, "filename": "local-cname-0.1.tar.gz", "has_sig": false, "md5_digest": "91519d5ec18d1c1642bac3c1804f4a00", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1163, "upload_time": "2017-04-05T09:28:03", "url": "https://files.pythonhosted.org/packages/a9/77/f9a16a28c1c44d0f186841929bd6f27ed28da05172f806c260e83b154af2/local-cname-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "a507e91e3aa70be1530ff959eae2be4f", "sha256": "f966902b06166dce39c24f54d75a293ab2ac908817cd8c4146730f77105ac10d" }, "downloads": -1, "filename": "local_cname-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "a507e91e3aa70be1530ff959eae2be4f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4044, "upload_time": "2017-04-05T10:13:36", "url": "https://files.pythonhosted.org/packages/06/c5/f7e97b1743d9cc705efc18aa501e82655ac8dd5986469754bb3519657fd2/local_cname-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d9c3dbf365aea5d9a11b0258d4a61cf9", "sha256": "673bdf29fb222c62691174f84fc4e8b8283272882699daf8540c8d4104f3b041" }, "downloads": -1, "filename": "local-cname-0.2.tar.gz", "has_sig": false, "md5_digest": "d9c3dbf365aea5d9a11b0258d4a61cf9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2260, "upload_time": "2017-04-05T10:13:38", "url": "https://files.pythonhosted.org/packages/8b/47/862279a191796222158dc111a1261e0b5e3fedcb1d01d3806560cce0d34b/local-cname-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "af4ffd7186b223b368034fa95d8a804b", "sha256": "c74b11dc1d8dace355297e0842e0206e1b8bdee1fb2675173176958a563769c4" }, "downloads": -1, "filename": "local_cname-0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "af4ffd7186b223b368034fa95d8a804b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4695, "upload_time": "2017-04-05T10:22:08", "url": "https://files.pythonhosted.org/packages/7e/41/b75cfea5f98dadafc3237dc9040cd57fa2239289424cf2bb94102fe78aad/local_cname-0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a527f6ec1c586d16beaca4dccdbd32b4", "sha256": "0789088fe2c911efbe1eee111cb8d3d9a6688721527a283f53f419cbee83542b" }, "downloads": -1, "filename": "local-cname-0.3.tar.gz", "has_sig": false, "md5_digest": "a527f6ec1c586d16beaca4dccdbd32b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2608, "upload_time": "2017-04-05T10:22:09", "url": "https://files.pythonhosted.org/packages/12/fd/6b95df27018d3356368fc93a1bf9ee494e144adac39a5429740e9d5dbd2e/local-cname-0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "af4ffd7186b223b368034fa95d8a804b", "sha256": "c74b11dc1d8dace355297e0842e0206e1b8bdee1fb2675173176958a563769c4" }, "downloads": -1, "filename": "local_cname-0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "af4ffd7186b223b368034fa95d8a804b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4695, "upload_time": "2017-04-05T10:22:08", "url": "https://files.pythonhosted.org/packages/7e/41/b75cfea5f98dadafc3237dc9040cd57fa2239289424cf2bb94102fe78aad/local_cname-0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a527f6ec1c586d16beaca4dccdbd32b4", "sha256": "0789088fe2c911efbe1eee111cb8d3d9a6688721527a283f53f419cbee83542b" }, "downloads": -1, "filename": "local-cname-0.3.tar.gz", "has_sig": false, "md5_digest": "a527f6ec1c586d16beaca4dccdbd32b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2608, "upload_time": "2017-04-05T10:22:09", "url": "https://files.pythonhosted.org/packages/12/fd/6b95df27018d3356368fc93a1bf9ee494e144adac39a5429740e9d5dbd2e/local-cname-0.3.tar.gz" } ] }