Old Man Mountain makes a very nice rack that has this function. It mounts to the brake bolts and through the axle. I have one-- but it's not cheap. I've bought them direct through Old Man Mountain's website.
I *think* Axiom makes one which is much cheaper but I have no experience with them. I know they make a rack for rear suspension.