How to parse resource records from the DOH response?

Mark Andrews marka at isc.org
Tue Dec 3 05:31:29 UTC 2024



> On 3 Dec 2024, at 13:55, Duan Duan via bind-users <bind-users at lists.isc.org> wrote:
> 
> Hey , guys
> 
> I have been studying DOH-related content recently.
> 
> The bind version I use is 9.18.31.
> 
> bind does not seem to support http1.1 requests.

Well there is no requirement to support HTTP/1.1.  HTTP/2 was specified 9 years ago.  There really shouldn’t be a need to use HTTP/1.1.  See RFC 8484 for required conformance levels.

> Generally speaking, what is the appropriate form of a client's doh request? Do we have to base 64 encoding the domain name?

Please go read RFC 8484.  The request is a base64 encoded DNS message.

> How can I get the resource records returned from bind? Is there a more concise way?
> 
> I'd appreciate it if someone would explain it or give me an example.
> 
> Thanks,
> 
> Kind regards
> Duan
> 从今以后
> 1422807819 at qq.com
>  -- 
> Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
> 
> ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
> 
> 
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742              INTERNET: marka at isc.org



More information about the bind-users mailing list