[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Wget-dev] wget2 | GSoC'18: Support DNS over HTTPS - Discussions (#3

From: Aniketh Girish
Subject: Re: [Wget-dev] wget2 | GSoC'18: Support DNS over HTTPS - Discussions (#378)
Date: Fri, 17 Aug 2018 07:31:05 +0000

Hi all, @rockdaboot , @darnir , @juaristi 

An update in a nutshell: The DNS query is base64 encoded into an HTTP request. 
The HTTP response is obtained. 

A quick question: We have made use of wget_base64 function, I wanted to make 
sure that this wget_base64 function is similar to base64url encode. Is it the 
same? According to the RFC, base64url encoding is what required. 

What is left: Now, I have to get the response body, take the dns-message 
content from it and parse the response. The parsed content/IP needed to be 
stored in the addrinfo as instructed or somewhere in the current dns_st struct 
for the time sake to get this running. 

Another question that I need your help in: We need a parser to decode the DOH 
packet now. Should I write my own parser or there is a parser that is available 
in C to take the buffer from the response body and convert the DNS wire format 
message into a message object of the IP address form.

Reply to this email directly or view it on GitLab: 
You're receiving this email because of your account on gitlab.com.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]