preparation for asynchronous DNS resolution