Rails 6.0.0.rc2 DNS Rebinding & Dynamic hosts

Hi all,

If some of you have tried rails 6.0.0.rc2, I am sure you would have come across the dns rebinding protection where we have to whitelist the hostnames. If the app is a multitenant saas app, we will have multiple hosts according to the customers and it will be dynamic. How to handle this?