How do you play a D note on the flute?

If you want to play the note "d" that is the second line from the top, it is all fingers down except the 2 little fingers and the left hand pointer finger. If it is the "d" below the first space, it is all fingers but the 2 little fingers