thread safe DNS cache