India batsmen Ajinkya Rahane and Virat Kohli struck inspired centuries during a record fourth-wicket partnership at the Melbourne Cricket Ground on Sunday to help India claw its way back into the third test against Australia on day three.

The pair united with India vulnerable at 147-3 in the morning and were finally separated at 409-4 after tea, having creamed 262 runs off Australia's hapless bowlers before spinner Nathan Lyon had Rahane trapped lbw for 147.

Kohli, enjoying an outstanding series with three centuries, pushed on to 169 before he was dismissed courtesy of wicketkeeper Brad Haddin's second brilliant catch of the day.