Issue #16937 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Open to Assigned

@akr How about this patch?

----------------------------------------
Feature #16937: Add DNS over HTTP to Resolv
https://bugs.ruby-lang.org/issues/16937#change-87798

* Author: drbrain (Eric Hodel)
* Status: Assigned
* Priority: Normal
* Assignee: akr (Akira Tanaka)
* Target version: 3.0
----------------------------------------
This adds a DNS over HTTP resolver at Resolv::DoH

It obeys RFC8484 with respect to Cache-Control and Age behavior, but does not use HTTP2 as ruby does not have an HTTP2 client.

It does not allow configuration of the Net::HTTP instance beyond timeouts, but I am willing to add more configuration if this is desired.

---Files--------------------------------
0001-Add-DNS-over-HTTP-resolver.patch (11.9 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>