Synchronous API for node.js dns library