Re: [dev] Suckless DNS server

2023-07-19 Thread Sagar Acharya
Hello, folks, Authoritative suckless DNS server recommendations please! Thanking you Sagar Acharya https://humaaraartha.in 20 Jul 2023, 10:32 by minsh...@umich.edu: >> I meant `ntohs`... and this further proves your point. >> Thank you for your insight & for the article. >> > > +1 ! >

Re: [dev] Suckless DNS server

2023-07-19 Thread Greg Minshall
> I meant `ntohs`... and this further proves your point. > Thank you for your insight & for the article. +1 !

Re: [dev] Suckless DNS server

2023-07-19 Thread Jeremy
On 07/20/23 04:57AM, NRK wrote: > > C standard defines shift operator as multiplication and division by > powers of 2. And the result of `x * 256` never depend on the system's > byte order and so neither does `x << 8`. > > Rob Pike already has an excellent article on this, so I'll just refer to

Re: [dev] Suckless DNS server

2023-07-19 Thread NRK
On Wed, Jul 19, 2023 at 03:20:21PM -0700, Jeremy wrote: > crypto_uint16 uint16_unpack_big(const unsigned char *x) > crypto_uint16 y; > > y = x[0]; y <<= 8; > y |= x[1]; > > return y; > } > > As you're probably already aware, if there were 3 answers, and you > were running this

Re: [dev] Suckless DNS server

2023-07-19 Thread Jeremy
On 07/20/23 12:09AM, NRK wrote: > FYI I'm not exactly interested in defending dq because I know nothing > about it, but the above criticism at least seems more like knee jerk > reaction due to something being different rather than actual/technical > criticism. > > - NRK > Thanks for your

Re: [dev] Suckless DNS server

2023-07-19 Thread NRK
> const char *e_str(int i) > { > X(0,"no error"); > X(EINTR,"interrupted system call") > X(ENOMEM,"out of memory") > X(ENOENT,"file does not exist") > X(ETXTBSY,"text busy") > X(EIO,"input/output error") > ... > return "unknown error"; > } > > Maybe this is just comedy? The real

Re: [dev] Suckless DNS server

2023-07-19 Thread Jeremy
On 07/19/23 04:20PM, Sergey Matveev wrote: > >Which DNS server do you recommend to use? > > https://github.com/janmojzis/dq is pretty lightweight and simple. I respect the endeavour but this author seems to dine pretty heavy on thick paint chips. Before returning from strtoip4, he does the

Re: [dev] Suckless DNS server

2023-07-19 Thread Sagar Acharya
Please let us know authoritative and recursive DNS servers. Thanking you Sagar Acharya https://humaaraartha.in 19 Jul 2023, 18:50 by stargrave+suckl...@stargrave.org: > *** Sagar Acharya [2023-07-19 15:08]: > >Which DNS server do you recommend to use? > > https://github.com/janmojzis/dq is

Re: [dev] Suckless DNS server

2023-07-19 Thread Sergey Matveev
*** Sagar Acharya [2023-07-19 15:08]: >Which DNS server do you recommend to use? https://github.com/janmojzis/dq is pretty lightweight and simple. It is based on DJB's https://cr.yp.to/djbdns.html, but supports IPv6 and most importantly DNSCurve, that does not rely on single trust anchor and just

[dev] Suckless DNS server

2023-07-19 Thread Sagar Acharya
Which DNS server do you recommend to use? I use pdns, I think a DNS server can be a thing which merely resolves a string and cryptography for encryption, namely DNSSEC. Comments around the concepts are welcome. Thanking you Sagar Acharya https://humaaraartha.in