It has been asked (and answered) many times here. Please follow the posting guidelines and search first.
I've just done a simple forum search for ipod record headphone and it returned all the threads I recall seeing on the subject.
Unfortunately, the forum search does not link to search results, so you will have to repeat it for yourself.