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?

Thanks

Hi Jey,

We reserve this mailing list for discussion about the development of Rails framework only.

Since I saw you also asked this same question on Stack Overflow, I’ve put my answer there.

Thank you,

Prem

Thanks to you, that is great.