dns
dns copied to clipboard
dns.c: Single file non-blocking DNS C library without callbacks or external dependencies.
memset returns an incorrect address when compiled under gcc 8.3.1 with optimizations. ref https://bugzilla.redhat.com/show_bug.cgi?id=1958715 This work-around doesn't rely upon the returned value
Encountering 6 errors while attempting to compile. til/dns.c:6528:17: error: array subscript -2 is below array bounds of 'unsigned char[1]' [-Werror=array-bounds] so->query->data[-2] = 0xff & (so->query->end >> 8); ~~~~~~~~~~~~~~~^~~~ util/dns.c:6529:17: error:...
The code is filled with traces of Win32 + MinGW. But it's been some time, since the last MinGW compile, I think. - It doesn't compile, out of the box....
Hi. I cannot get it to work with IPv6 DNS servers. Is this supported? I am using current master. When I set only v6 DNS servers in my resolv.conf, the...
- Bring in aliasing fix from cqueues - Fix https://github.com/wahern/cqueues/issues/156#issuecomment-340228470 - Fix #25 - Fix `-Wexpansion-to-defined` warnings - Fix `-Wimplicit-fallthrough` warnings Now only warnings with GCC 8.1.1 is about `-Warray-bounds`...
`gcc -c dns.c -o dns.o -D_DEFAULT_SOURCE` ``` dns.h:527:16: error: lvalue required as unary ‘&’ operand 527 | dns_rr_i_init(&dns_quietinit((struct dns_rr_i){ 0, __VA_ARGS__ }), (P)) ```
On gcc 9.1.0 it builds fine without the dns_quietinit workaround. That workaround, however, creates its own build issues...
Hey all! I have been having trouble getting this to work on the raspberry PI. Can anyone help?
Why on God's green earth would you guys declare a variable "class" in your C source file. It makes it impossible to include in a C++ source file without a...
1.) Do we need to include zone.c, cache.c for cache implementation? 2.) Is there any example, which explains the usage of command line arguments like "-z" (path to zone cache)...