After removing the cache cleaning mechanism, we don't need to db iterator in dns_cache_flush() anymore.