[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Wget-dev] wget2 | GSoC'18: Support DNS over HTTPS - Discussions (#3
Re: [Wget-dev] wget2 | GSoC'18: Support DNS over HTTPS - Discussions (#378)
Fri, 07 Sep 2018 10:59:12 +0000
As I wrote, it converts name,ip,port into a addrinfo structure.
So you have the name, e.g. 'example.com' which you sent to the DoH server.
With the response you get the numerical IP - you say as in_addr !? Then use
inet_ntop() to convert it into a string 'ip'. Then call
wget_tcp_dns_cache_add(ip, name, port) with the port from the original URL
whose domain you looked up.
Reply to this email directly or view it on GitLab:
You're receiving this email because of your account on gitlab.com.