add caching for nslookup