Fixed a DNS caching bug