Hi,
I am trying to connect to my AWS RDS (mysql) instance using the AWS supplied DNS endpoint.
The problem is, the IP of the instance changes periodically.
It appears that nginx does not resolve the DNS name every time, but caches it.
Therefore nginx initially works, then at some point later, things break.
How can I turn off the DNS caching?