title: How do I cache DNS lookups for Laravel database connections?
body: <p>I would like to know how I can cache DNS lookups of CNAMEs used for database connections, such as MySQL and Redis. How can this be done with Laravel?</p>