Rails 6 adds guard against DNS Rebinding attacks
In a DNS Rebinding attack, a malicious webpage runs client-side script when it is loaded, to attack endpoints within a given network.
Read more about this at: Rails 6 adds guard against DNS Rebinding attacks