Re: [dev] suckless dns over http client

2018-04-02 Thread Calvin Morrison
Presenting sdohd(1) - simple dns over https daemon [0]f okay I wrote it see below. depends on curl, also i havent written C in a long time so I didn't really have a good grasp on allocating stuff, nor did i read the actual spec on dns so i hope bufsize = 256 is big enough for any dns response, who

Re: [dev] suckless dns over http client

2018-04-02 Thread Calvin Morrison
> On 2 April 2018 at 16:56, Laslo Hunhold wrote: > Given these circumstances, I see no elegant way to implement this in a > suckless way given HTTP/2 requires the server to do some pretty complex > connection-state-handling. curl kinda sucks, but, at least it's outside of our code base (see: surf

Re: [dev] suckless dns over http client

2018-04-02 Thread Laslo Hunhold
On Mon, 2 Apr 2018 15:31:20 -0400 Calvin Morrison wrote: Hey Calvin, > In lieu of the recent 1.1.1.1 announcement, i was wondering if anyone > has written a suckless, simple, dns over http relay? Maybe it would be > a good thing to add to the wiki as potential ideas? The basic concept > of the t

Re: [dev] suckless dns over http client

2018-04-02 Thread Quentin Rameau
> In lieu of the recent 1.1.1.1 announcement, i was wondering if anyone > has written a suckless, simple, dns over http relay? haha ;)

[dev] suckless dns over http client

2018-04-02 Thread Calvin Morrison
In lieu of the recent 1.1.1.1 announcement, i was wondering if anyone has written a suckless, simple, dns over http relay? Maybe it would be a good thing to add to the wiki as potential ideas? The basic concept of the tool would be to run as a daemon, listen on port 53 to requests, and then make ht