/p5-dns-over-http

Perl library for resolving DNS queries with the DNS over HTTPS (DoH) Protocol

Primary LanguagePerl

DNS over HTTP client

A Perl module that provides DNS over HTTPS (DoH).

This is just a small module that I've built to discover the DNS over HTTPS protocol now that recently it has an RFC (at the time of writing): https://datatracker.ietf.org/doc/rfc8484/

This has not been published to CPAN, as it is just a small experiment to discover the protocol. PRs are welcome.

Providers:

A list of DoH Providers (https://en.wikipedia.org/wiki/Public_recursive_name_server)

A first note: The first time I tried DNS over HTTP, I tried using 1.1.1.1 (CloudFlare's public DNS) and 8.8.8.8 (Google's public DNS) on port 443. These IPs don't provide the DNS over HTTPS service, although they do respond to HTTPS.

See the examples directory for DoH endpoints.

Here is the documentation for each provider:

CleanBrowsing

CloudFlare

Google

Quad9

OpenDNS / Cisco

See also