I'll keep digging, but now I'm 100% certain it's a bug in the core of ldns as this failure happens on iphone, OS X, etc... with any app using ldns. Works fine for me on FreeBSD & OS X jaap