Redirect non existing page to frontpage

When a user type inn (which does not exist) the result show an empty body with the header and the footer intact. Most redirect plugins let me redirect one specific URL to another specific URL. What i want is to not only redirect a specific URL, but every non existing URL to a specific URL.

What does this redirecting action called, and how to i do that?