system DNS resolver designed to be used with event loops