hi craig,
sorry i'm not familiar with the d5000 - I would assume it has a digital zoom function but maybe i'm wrong.
otherwise set the lens to infinity (if it has that function) - or in the day time focus waaaay off into the distance and mark or take note of the position of the lens. good luck