summaryrefslogtreecommitdiff
path: root/lib/resolv.rb
diff options
context:
space:
mode:
authorKasumi Hanazuki <[email protected]>2023-11-24 10:42:02 +0900
committergit <[email protected]>2023-11-24 01:42:08 +0000
commite3b485213d06a5d9a07650174a2be9e20cb39e57 ()
treeed62515741098ba11858bc349e6264af25c5541e /lib/resolv.rb
parent608a518b42736edc6533a120a240ff92ca4a8a60 (diff)
[ruby/resolv] Implement dohpath SvcParam
(https://.com/ruby/resolv/pull/33) * Implement dohpath SvcParam [RFC 9461] This implements "dohpath" SvcParam proposed in [draft-ietf-add-svcb-dns-08]. This parameter specifies a URI template for the :path used in DNS-over-HTTPS requests. "dohpath" is employed by [DDR], also a to-be-published Proposed Standard that specifies how to upgrade DNS transport to a more secure one, i.d., DNS-over-TLS or DNS-over-HTTPS. DDR is deployed in the public DNS resolvers including Cloudflare DNS, Google Public DNS, and Quad9. [RFC 9461]: https://datatracker.ietf.org/doc/rfc9461/ [DDR]: https://datatracker.ietf.org/doc/draft-ietf-add-ddr/ https://.com/ruby/resolv/commit/da9c023539 Co-authored-by: Sorah Fukumori <[email protected]>
-rw-r--r--lib/resolv.rb29
1 files changed, 29 insertions, 0 deletions
@@ -2027,6 +2027,35 @@ class Resolv
end
end
end
##