Dog owners are being asked to keep their pets under close control on beaches after the death of a rare penguin.