Changelog#

v0.3.3#

Fix bugs#

  • Fixed missing dependencies (ModuleNotFoundError: No module named socks)

v0.3.2#

Fix bugs#

  • Fixed requests with socks proxy is not working #3

Note: Potential breaking changes#

Functions set_dns_cache_expire_time() and purge_dns_cache() imported from module requests_doh.connector are no longer exists. Instead you can import it from requests_doh.cachemanager

If you usually import those functions from requests_doh (root library), these changes doesn’t affect you at all.

For example:

# If you do this starting from v0.3.2, you will get `ImportError`
from requests_doh.connector import set_dns_cache_expire_time, purge_dns_cache

# Do this instead
from requests_doh.cachemanager import set_dns_cache_expire_time, purge_dns_cache

# Those changes doesn't affect you if you use this import method
from requests_doh import set_dns_cache_expire_time, purge_dns_cache

v0.3.1#

This update fix requests dependencies because of CVE-202-32681

Dependencies#

  • Bump requests from v2.28.2 to v2.31.0

v0.3.0#

New features#

  • Added ability to add custom DNS over HTTPS provider #1

  • Added ability to remove DNS over HTTPS provider

Improvements#

  • Improved performance for querying DNS over HTTPS

v0.2.4#

Dependecies#

  • Updated requests from v2.28.1 to v2.28.2

  • Updated dnspython from v2.2.1 to v2.3.0

v0.2.3#

Fix bugs#

  • Fixed missing dependecies resulting error dns.query.NoDOH: Neither httpx nor requests is available.

v0.2.2#

Improvements#

  • Improved DoH resolving

v0.2.1#

Fix bugs#

  • Fixed unhandled exception if host doesn’t contain AAAA type

v0.2.0#

Warning

Broken, do not use this version. Instead use v0.2.1

New features#

  • Added get_all_dns_provider(), returning all available DoH providers.

  • Added new DoH providers

    • cloudflare-security

    • cloudflare-family

    • opendns

    • opendns-family

    • adguard

    • adguard-family

    • adguard-unfiltered

    • quad9

    • quad9-unsecured

  • Added DNSOverHTTPSSession for ready-to-use DoH requests session

Breaking changes#

  • Starting from v0.2.0, requests-doh rely on dnspython module for extending it’s library usage and query to many public and private DNS.

v0.1.1#

Fix bugs#

  • Fix ipv6 addresses is not handled properly

v0.1.0#

New features#

  • Added DoH local caching

Fix bugs#

  • Fix requests for http prefix (http://) is hanging up

v0.0.1#

Initial release