miekg / dns

DNS library in Go
https://miek.nl/2014/august/16/go-dns-package
BSD 3-Clause "New" or "Revised" License
7.86k stars 1.12k forks source link

Add RFC 9540 to SVCBs to indicate Oblivious HTTP is available #1567

Closed steffsas closed 3 weeks ago

steffsas commented 1 month ago

Hi folks!

The IETF just recently published a new RFC 9540. It introduces a new SVCB parameter ohttp to a service binding DNS RR to indicate Oblivious HTTP is available on the target host. Note that the value is always empty. It can be either used in the HTTPS SVCB or in the SVCBs for DDR (Disovery of Designated Resolvers) (see RFC 9462).

I've added the new SVCB type and added also the tests from the different RFCs.

miekg commented 3 weeks ago

lgtm, could you do the small favor and update the README with these RFC nums too? ta

miekg commented 3 weeks ago

doing it myself