Yes the domain is all real numbers excluding 5 and the range is all real numbers. What does f(x) graph? That will help you be assured about your answers. You are right though.
To find the inverse of f(x), switch the x's and y's and solve for y. So if you had , then write and solve for y.