The elastic instability of a director rod