- Information
Libdnsres provides a non-blocking thread-safe interface for resolving DNS names. It is built on top of libevent and makes heavy use of the *BSD resolver code. This is essentially an ugly hack to get a non-blocking DNS resolver for my own personal use. That spells out to: use at your own risk, I know that the code is ugly.
- License
This code is licensed under a 4-clause BSD license including the advertising clause:
3. All advertising materials mentioning features or use of this software
must display the following acknowledgement: This product includes software developed by Niels Provos.
If you do not like this license or need a different license, feel free to bring it up with me.
- Building
To build libdnsres, type
$ ./configure && make
Install as root via
# make install
You can run the regression tests by
$ ./simple_test
Before, reporting any problems, please run the regression tests.
- Acknowledgements
All the people who worked over the years on the BSD resolver code. Check the copyrights in the source code for more information.
