On Mar 4, 2020, at 10:38 AM, Brian Julin <BJulin@clarku.edu> wrote:
There's some stale... geez 7 years stale I can't believe it's been that long... code in my github tree that does async lookups via NAPTR. But it's just the lookup. It doesn't touch the home server config to add or remove home servers and I think given what the core devs say about v4, you'd be much better off trying to pull that off under v4's architecture.
I wrote the async glue for our rlm_unbound module, https://github.com/FreeRADIUS/freeradius-server/blob/master/src/modules/rlm_... but it turns out libunbound doesn't expose the same decode functions to callers that implement their own I/O routines. If someone knowledgable wanted to figure out the decoding, and add a NAPTR xlat (there are multiple existing examples for other record types) then that'd probably move things forward the fastest. -Arran