{ "info": { "author": "Matthieu Treussart", "author_email": "matthieu@treussart.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 2.2", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.7", "Topic :: Internet :: Name Service (DNS)", "Topic :: Internet :: WWW/HTTP" ], "description": "==========\nDjango-doh\n==========\n\nDjango-doh is a simple Django app to serve a DOH (DNS Over HTTPS) Proxy. It resolves DNS query on HTTP.\n\nQuick start\n-----------\n\n1. Install via pip::\n\n pip install django-doh\n\n2. Add \"doh_server\" to your INSTALLED_APPS setting like this::\n\n INSTALLED_APPS = [\n ...\n 'doh_server',\n ]\n\n3. Include the polls URLconf in your project urls.py like this::\n\n from doh_server.views import doh_request\n path('dns-query', doh_request),\n\n4. Add the conf in your settings like this::\n\n DOH_SERVER = {\n \"RESOLVER\": \"internal\",\n # \"RESOLVER\": \"8.8.8.8\",\n \"AUTHORITY\": \"\",\n \"LOGGER_LEVEL\": \"DEBUG\",\n }\n\nFor use local resolver set on the server who run Django use \"internal\".\n\nImplementation\n--------------\n\nRFC 8484\n========\n\n* https://www.rfc-editor.org/rfc/rfc8484.txt\n\nJson implementation\n===================\n\n* https://developers.cloudflare.com/1.1.1.1/dns-over-https/json-format/\n\n\nUse with Firefox\n----------------\n\nin about:config edit::\n\n network.trr.mode;3\n network.trr.uri;https://127.0.0.1/dns-query\n\n\nFor the URI, add your URI for your reverse proxy serving Django.\n\nYou can use Nginx as reverse proxy ::\n\n events {\n }\n http {\n server {\n listen 443 ssl http2 default_server;\n location /dns-query {\n proxy_set_header Host $host;\n proxy_pass http://127.0.0.1:8000/dns-query;\n }\n ssl_certificate /etc/nginx/cert.pem;\n ssl_certificate_key /etc/nginx/key.pem;\n }\n }", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/treussart/django-doh", "keywords": "", "license": "BSD License", "maintainer": "", "maintainer_email": "", "name": "django-doh", "package_url": "https://pypi.org/project/django-doh/", "platform": "", "project_url": "https://pypi.org/project/django-doh/", "project_urls": { "Homepage": "https://github.com/treussart/django-doh" }, "release_url": "https://pypi.org/project/django-doh/0.1.0/", "requires_dist": null, "requires_python": ">=3.7", "summary": "A simple Django app to serve DOH.", "version": "0.1.0" }, "last_serial": 5936956, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "f811aa845ff7a4cbe3071201914ff11b", "sha256": "4c8948032cd79add119c67ecf0d41cf78150dcfb571e06462567bca292c25b20" }, "downloads": -1, "filename": "django-doh-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f811aa845ff7a4cbe3071201914ff11b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 6062, "upload_time": "2019-10-07T05:14:15", "url": "https://files.pythonhosted.org/packages/d4/f0/c04d00dcd2e0271c246b36011d3e192064930e13d2aa1be07f361581dbd5/django-doh-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f811aa845ff7a4cbe3071201914ff11b", "sha256": "4c8948032cd79add119c67ecf0d41cf78150dcfb571e06462567bca292c25b20" }, "downloads": -1, "filename": "django-doh-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f811aa845ff7a4cbe3071201914ff11b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 6062, "upload_time": "2019-10-07T05:14:15", "url": "https://files.pythonhosted.org/packages/d4/f0/c04d00dcd2e0271c246b36011d3e192064930e13d2aa1be07f361581dbd5/django-doh-0.1.0.tar.gz" } ] }