{ "info": { "author": "Mehrdad Arshad Rad", "author_email": "arshad.rad@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "## PubDNS\n[![Build Status](https://travis-ci.org/mehrdadrad/pubdns.svg?branch=master)](https://travis-ci.org/mehrdadrad/pubdns)\n[![PyPI pyversions](https://img.shields.io/badge/python-2.6,%202.7,%203.4,%203.5,%203.6-blue.svg)](https://pypi.python.org/pypi/pubdns/)\n[![PyPI license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/mehrdadrad/pubdns/blob/master/LICENSE)\n[![PyPI](https://badge.fury.io/py/pubdns.svg)](https://pypi.python.org/pypi/pubdns)\n[![Documentation Status](https://readthedocs.org/projects/pubdns/badge/?version=latest)](http://pubdns.readthedocs.io/en/latest/?badge=latest)\n\npubdns is a library for python to have more than 28K public dns servers from 190+ countries at your python script. it works based on the public-dns.info collected data and there is a wrapper based on the dnspython to resolve all type of dns records through these public dns server smoothly.\n\n### Quick start\n\n```python\nimport pubdns\npd = pubdns.pubdns()\nservers = pd.servers('US', 'los angeles')\n```\n\n### Sample data\n\n```\n[\n {\n 'city': 'Los Angeles',\n 'server': '12.127.16.67',\n 'name': 'rmtu.mt.rs.els-gms.att.net.',\n 'reliability': '1.00'\n },\n {\n 'city': 'Los Angeles',\n 'server': '216.240.32.77',\n 'name': 'dns2.worldpassage.net.',\n 'reliability':'1.00'\n },\n...\n]\n```\n\n### Sample DNS Query\n\n```python\nrs = pubdns.dns.resolver(servers, 'amazon.com', ['A'])\nfor r in rs:\n print(r)\n```\n\n### Sample Data\n\n```\n{\n 'server':\n {\n 'city': 'Los Angeles',\n 'server': '12.127.16.67',\n 'name': 'rmtu.mt.rs.els-gms.att.net.',\n 'reliability': '1.00'\n },\n 'resolve': [\n {'name': '176.32.98.166', 'type': 'A'},\n {'name': '176.32.103.205', 'type': 'A'},\n {'name': '205.251.242.103', 'type': 'A'}\n ]\n}\n```\n\n## Feature Support\n\n- Search by country and city\n- Cache public-dns.info data and update with specific TTL\n- Support HTTP proxy to get public dns data\n- Query the public DNS with specific record type(s)\n\n## Requirements\n\nPython 2.6 or later.\n\n## Installation\n\n```\npip install pubdns\n```\n\n## License\n\nThis project is licensed under MIT license. Please read the LICENSE file.\n\n\n## Contribute\n\nWelcomes any kind of contribution, please follow the next steps:\n\n- Fork the project on github.com.\n- Create a new branch.\n- Commit changes to the new branch.\n- Send a pull request.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mehrdadrad/pubdns", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pubdns", "package_url": "https://pypi.org/project/pubdns/", "platform": "", "project_url": "https://pypi.org/project/pubdns/", "project_urls": { "Homepage": "https://github.com/mehrdadrad/pubdns" }, "release_url": "https://pypi.org/project/pubdns/0.1.4/", "requires_dist": null, "requires_python": "", "summary": "Python library to interact with public DNS servers", "version": "0.1.4" }, "last_serial": 3463306, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "2b3cd00d7fc45fa81b8a44203c4d0d54", "sha256": "f04796dcb58a76e03cb9100dcc766fd583033ad84df2a4add1b326a824392882" }, "downloads": -1, "filename": "pubdns-0.1.0-py3.6.egg", "has_sig": false, "md5_digest": "2b3cd00d7fc45fa81b8a44203c4d0d54", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 1195, "upload_time": "2017-12-19T06:31:46", "url": "https://files.pythonhosted.org/packages/ff/4b/11508642a545240977b9e372b5aa2e4bb34e03b177050e447b11ee91add4/pubdns-0.1.0-py3.6.egg" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "712fe0c0b7c378483b3adb91640fbc83", "sha256": "43ef56d78f4f675543101bb0ef67345802168368fa995f0e626982f3e76abcdf" }, "downloads": -1, "filename": "pubdns-0.1.1.tar.gz", "has_sig": false, "md5_digest": "712fe0c0b7c378483b3adb91640fbc83", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3437, "upload_time": "2017-12-19T08:36:43", "url": "https://files.pythonhosted.org/packages/c5/e2/fcaafe077bab464f3468835aad3e06ea61b3941b7f16eb03400be0789d9c/pubdns-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "881984a364abcfca5a542b5c4f0eb20d", "sha256": "308b7c50fb5a98cef4f8008db6bb99ea17f1206449e1263892bc181119f81f03" }, "downloads": -1, "filename": "pubdns-0.1.2.tar.gz", "has_sig": false, "md5_digest": "881984a364abcfca5a542b5c4f0eb20d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3897, "upload_time": "2017-12-20T02:20:17", "url": "https://files.pythonhosted.org/packages/95/65/63836abc9fbedeb24da52d18d71b31085f67bfb52000abc99de0383f672e/pubdns-0.1.2.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "606ad1cfb19b3ed426759ab420b33e14", "sha256": "63eefd6b9f1357892e11a388c9a5e37d01ea16d629b9361c61e2d67198ea8649" }, "downloads": -1, "filename": "pubdns-0.1.4.tar.gz", "has_sig": false, "md5_digest": "606ad1cfb19b3ed426759ab420b33e14", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5937, "upload_time": "2018-01-05T00:44:26", "url": "https://files.pythonhosted.org/packages/fd/38/6cd1ecf3ea4a2d9cdae9a8f3fe6507adb06d54a2176b08287a3c6e93bf26/pubdns-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "606ad1cfb19b3ed426759ab420b33e14", "sha256": "63eefd6b9f1357892e11a388c9a5e37d01ea16d629b9361c61e2d67198ea8649" }, "downloads": -1, "filename": "pubdns-0.1.4.tar.gz", "has_sig": false, "md5_digest": "606ad1cfb19b3ed426759ab420b33e14", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5937, "upload_time": "2018-01-05T00:44:26", "url": "https://files.pythonhosted.org/packages/fd/38/6cd1ecf3ea4a2d9cdae9a8f3fe6507adb06d54a2176b08287a3c6e93bf26/pubdns-0.1.4.tar.gz" } ] }