I've been doing some research on DNS rebinding attacks and I can't understand how the actual rebinding happens. The most helpful resource was this video by Robert Hansen.
The one thing that I didn't quite understand: does the attacker have to own the DNS server for the attack to work? If so, does the target have to make requests to the attacker's server? Or it works with any DNS available and there's something in the browser internals that forces the rebinding?