India opener Shikhar Dhawan smashed another hundred and KL Rahul made a record-equalling half-century before Sri Lanka hit back on day one of the third Test in Pallekele.
Dhawan put Sri Lanka's attack to the sword with a magnificent 190 in the first Test and he hit a brisk 119 as the India openers cashed in after Virat Kohli won the toss on Saturday.
Rahul (85) gave another exhibition of his class at the top of the order, becoming only the sixth man to score 50 or more in seven consecutive Test innings courtesy of a first-wicket stand of 188.
Malinda Pushpakumara (3-40), in only his second Test, sparked Sri Lanka's revival after lunch and Lakshan Sandakan (2-84) struck twice, leaving India 329-6 at stumps as they target a 3-0 series whitewash.
Wriddhiman Saha (13 not out) and Hardik Pandya (1 no) will resume in Kandy on Sunday.
The aggressive Dhawan latched on to short stuff from the recalled Lahiru Kumara with some exquisite cuts, while Rahul pulled expertly and drove with elegance as India got off to an ominous start.
Kumara was removed from the attack after only three overs and failed to redeem himself for a poor opening spell when he dropped Rahul on 28 running back from mid-on off the bowling of Dimuth Karunaratne.
That proved to be costly as Dhawan and Rahul continued to score all too easily, the left-hander setting about spinner Dilruwan Perera.
The prolific Rahul, who timed the ball superbly, etched his name in the record books with yet another half-century and Dhawan raced on to 64 as India reached lunch on 134 without loss.
Angelo Mathews had no time to react when Rahul edged a cut past him at slip off Sandakan, but he missed out on a century after dancing down the track to strike Pushpakumara to Karunaratne at mid-on.
Cheteshwar Pujara was rattled on the helmet by a short ball from Kumara before Dhawan brought up his sixth Test hundred by using his feet superbly to drive Pushpakumara wide of mid-off for four.
Dhawan's stylish 123-ball knock, which included 17 boundaries, ended when he swept Pushpakumara to a diving Dinesh Chandimal and Pujara (8) fell before tea, caught cutting Sandakan to Mathews in the slips, as the hosts' persistence finally paid off.
Pushpakumara bowled Ajinkya Rahane (17) and Sandakan claimed the scalp of Kohli, who was taken by Karunaratne at slip eight short of a half-century, in a strong Sri Lanka fightback.
Vishwa Fernando, playing his second Test a year after his debut, also snared Ravichandran Ashwin (31) caught behind at full stretch by Niroshan Dickwella to give Sri Lanka another late lift.
|Benfica 0 Bayern Munich 2: Sanches returns to haunt his former club|
|Young Boys 0 Manchester United 3: Pogba double inspires Red Devils|
|Manchester City 1 Lyon 2: Cornet and Fekir stun Champions League favourites at home|
|Real Madrid 3 Roma 0: Isco stunner sets up winning start for Champions League holders|
|Ronaldo sent off on Champions League debut for Juve and may miss United reunion|
|Shakhtar Donetsk 2 Hoffenheim 2: Maycon denies Nagelsmann´s side|
|Ajax 3 AEK Athens 0: Tagliafico at the double in opening win|
|Dalot makes debut, Martial starts for Manchester United|
|India avenge ICC Champions Trophy loss with big win over Pakistan|
|Ronaldo makes Champions League debut for Juve|
|Lopetegui picks Navas over Courtois for Champions League clash with Roma|
|Willian very happy under Sarri after Conte row|
|Sarri deals blow to Chelsea kids´ Europa League hopes|
|Mendy out for Manchester City as Aguero makes bench|
|Cech accepts performances key to securing Arsenal stay|
|Monchi rules out Spain return amid Barcelona rumours|
|Durham skittled for 61 and 66 on the same day|
|Kane isn´t a machine – Lamela defends misfiring Spurs star|
|Hazard left out of Chelsea squad for PAOK trip|
|Tiger feels close to ending drought after achieving Tour Championship goal|
|Leno in line for Arsenal chance in Europa League|
|Gazidis leaves Arsenal in good shape, insists Emery|
|Eagles bring back WR Matthews, place Wallace on IR|
|England include Stokes, Hales and uncapped seamer Stone in ODI squad|
|Suwon Bluewings 0 Jeonbuk Motors 3 (aet, 4-2 on penalties): Quarter-final comeback ends in spot-kick|
|Australia captain Paine ready to slog it out with Pakistan|
|Nadal pulls out of China Open & Shanghai Masters with knee injury|
|Ostapenko begins Korea Open defence with victory|
|Joshua v Povetkin: How Olympic super heavyweight champions have fared|
|Liverpool ´made a point´ with PSG victory - Gomez|
|Osaka wows Tokyo crowd on WTA return|
|Excited Povetkin arrives in England for Joshua showdown|
|Kovac patience with Sanches set to reap rewards|
|Kovac: Madrid strong without Ronaldo, Messi is the best|
|ATP suspends umpire Lahyani over Kyrgios ´pep talk´ at US Open|
|North and South Korea seek to co-host 2032 Olympics|
|Ampadu signs long-term Chelsea contract|
|Don´t blame Neymar, PSG players all guilty - Thiago Silva|
|Real Madrid seek to plug Ronaldo scoring gap – Champions League in Opta numbers|
|Brewers allow Cardinals to inch closer with loss to Reds|
|Manchester is still red – Depay ahead of Lyon´s clash with City|
|Orioles become first pro team to wear braille jerseys|
|Klopp hails ´brilliant´ Henderson|
|PSG attack lacked aggression, says Tuchel|
|Atletico Tucuman 0 Gremio 2: Libertadores holders draw first blood in QFs|
|Thomas plays down wrist worry|
|Rakitic wants more from Barcelona hat-trick hero Messi|
|My players aren´t s*** – Pochettino defends Spurs squad|
|Cubs reliever Morrow won´t return this season|
|Tebow expected to be back in Mets organisation next season|
|Inter can compete against anyone – Icardi revels in Champions League victory|
|Tuchel: PSG loss to Liverpool not logical or correct|
|Sturridge in best shape I´ve seen – Klopp|
|Milojevic celebrates ´fantastic´ occasion after Red Star´s 26-year wait|
|Rodrigo and Simeone salute Griezmann display|
|Seahawks DE Clark on Bears QB Trubisky: He´s nothing special|
|Carroll says Wilson has been ´over-trying a little bit´|
|Judge returns to Yankees´ starting lineup|
|Napoli boss Ancelotti takes aim at Red Star time wasting|
|Favre admits young Dortmund stars struggled in Bruges|
|Otavio would trade goal for Porto victory as he bemoans Schalke draw|
|Championship Review: Pacesetters Leeds crush Preston, Villa end five-game winless run|
|Neymar world-class but not a defender - Klopp says Liverpool targeted PSG star|
|Waiters injury update: Heat guard unlikely to be ready for start of season|
|Gojowczyk eliminates returning Tsonga in Metz|
|Liverpool enjoying best start in 57 years after PSG win|
|Galatasaray 3 Lokomotiv Moscow 0: Terim´s side make light work of Russians|
|Club Brugge 0 Borussia Dortmund 1: Super sub Pulisic scores late winner|
|Schalke 1 Porto 1: Fahrmann saves one penalty, but Otavio scores another|
|Red Star Belgrade 0 Napoli 0: Points shared as Italians fail to make possession pay|