Dynamic DOF

Is there somone that already made or someone that can make a dynamic Depth of Field so that what ever you are looking at with your crosshair is focused but everything else is blurred within a tolerance (10ft + or - what you are looking at is un blurred or something)