FreeRADIUS/freeradius-server — pull request #416 by skids (2013-08-24 03:18:07+00:00)
Title: Module for internal asyncronous DNS and unlang syncronous DNS xlats via libunbound

This is more prerequisite work for DDDS that can be broken out into a marginally-useful standalone module.

The first commit segregates all changes that affect the core. It introduces a radiusd.h API which modules can use to link into the event loop, rather than just exposing the "el" global. The API leaves room for growth and a second non-core thread/event loop for module-only use, but implementation of the latter is left for later if/when actually needed.

The second two implement rlm_unbound which works well enough except for issues about where unbound logs go and some potential problems with valgrind until upstream fixes some issues.

Caveat: this is completely untested on platforms other than Linux. Might not even build.