Use the DNSPARSER and DNSSTUB libraries in the resolver service
authorlurchi <lurchi@strangeplace.net>
Thu, 28 Jun 2018 22:10:08 +0000 (00:10 +0200)
committerlurchi <lurchi@strangeplace.net>
Thu, 28 Jun 2018 22:10:08 +0000 (00:10 +0200)
commite7e14740d619777613734cec9400c33cfd30fc3d
tree0a5ba01886c59709ffcc0052227ef7caa3f68aa0
parent7c04b23c8c80e06257706facf74a92bfec7a9914
Use the DNSPARSER and DNSSTUB libraries in the resolver service

We are not using the libc functions anymore for forward and backup
DNS resolutions and the DNSPARSER and DNSSTUB libraries instead.
This has the advantage that the APIs are asynchronous now and
thus multiple DNS resolutions can be done in parallel.

This breaks support for Windows and other operating systems that
don't use /etc/resolv.conf for defining DNS servers. For fixing
this the function lookup_dns_servers can be extended with different
lookup mechanisms.
src/util/gnunet-service-resolver.c
src/util/resolver.h
src/util/resolver_api.c