Kong Gateway - which is built on top of NGINX - provides frequent DNS lookups for free in the open source version, and we have implemented this feature a very long time ago (2017?) to overcome this limitation.
So if you need need this capability for free, check it out. Not only that, but SRV record resolutions too.
So if you need need this capability for free, check it out. Not only that, but SRV record resolutions too.