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.
|Guardiola second to none tactially, says Man City midfielder Gundogan|
|McIlroy: Bay Hill win a huge confidence boost for Masters|
|F1 2018 Pre-Season Report: Mercedes|
|F1 2018: The best Opta facts ahead of the new season|
|Liverpool captain Henderson ponders Salah and Suarez comparison|
|Messi worried by the uncertainty retirement brings|
|F1 2018 Pre-Season Report: Ferrari|
|Hunt handed ban and fine but cleared to return|
|Rants, criticism a familiar story – Is Mourinho set for Man United exit?|
|Guptill added to Black Caps squad|
|Thunder end Raptors´ streak, Davis stars|
|Stars goalie Bishop expected to miss at least two weeks|
|Messi desperate for World Cup success|
|Federer frustrated by Indian Wells final defeat|
|Del Potro: I can´t believe I won Indian Wells|
|Napoli causing Juventus problems as Sarri revels in crucial win|
|Balbirnie happy to boost Ireland chances|
|The better Ronaldo is, the better Madrid will be – Vazquez lauds four-goal hero|
|Ireland inspired by retired team-mates – Sexton|
|Indian Wells crown surreal for Osaka|
|F1 2018: Everything you need to know|
|Salah ´unstoppable´ like Messi, says Watford boss Gracia|
|Demanding Mourinho is still special, insists Matic|
|Truex Jr sweeps stages and wins first race of 2018|
|Woods pleased with progress at Bay Hill|
|McIlroy cruises to victory at Bay Hill, where Tiger impresses|
|Dallas 3 Seattle Sounders 0: Dempsey sees red after VAR|
|Ronaldo ´from another galaxy´, says Zidane|
|Del Potro saves match points to stun Federer for Indian Wells title|
|Eusebio Sack-ristan: Real Sociedad part company with head coach|
|Fassone ready for Gattuso talks after Milan resurgence|
|Napoli 1 Genoa 0: Albiol goal maintains pressure on Juve|
|Real Madrid 6 Girona 3: Four-goal Ronaldo continues hot streak with 50th career hat-trick|
|USA boss Sarachan calls up Weah for Paraguay friendly|
|Excellent Leipzig deserved Bayern win - Heynckes|
|Marquez will sleep easily after last-ditch Qatar move|
|Conte impressed by Morata´s return to scoring form|
|I lost the game myself - Simeone accepts responsibility for Atletico Madrid defeat|
|Borussia Dortmund to delay final Stoger decision - Zorc|
|Toulouse topple leaders Montpellier|
|Puel stands by Schmeichel after FA Cup blunder|
|Neymar could be back for Coupe de France final, says Silva|
|Valverde waits on Iniesta answer as Barcelona captain considers exit|
|Magnificent Osaka claims maiden title at Indian Wells|
|Villarreal 2 Atletico Madrid 1: Unal deals LaLiga title race blow for Simeone´s men|
|Leicester City 1 Chelsea 2 (aet): Pedro and Morata send Conte´s men through|
|RB Leipzig 2 Bayern Munich 1: Werner strike seals memorable triumph|
|Gattuso demands lift from out-of-favour Kalinic|
|Karthik hits final-ball six to win Nidahas Trophy|
|Messi puts us where we are right now - Alcacer hails Barcelona superstar|
|Dovizioso holds off Marquez in Qatar to draw first blood|
|Sampaoli ´right´ to pick others - Icardi understands Argentina snub|
|Barcelona 2 Athletic Bilbao 0: Messi and Alcacer secure comfortable success|
|Hughes excited by Southampton quality|
|Nice prepared for ´likely´ Balotelli departure|
|Wales captain Jones set to miss summer Tests|
|Germany defender Halstenberg extends RB Leipzig contract|
|No offers for Roma´s Alisson, says Monchi|
|Constant compliments guarantee defeat, claims Inter boss Spalletti|
|Scoring 100th Serie A goal at Sampdoria was ´destiny´, says Icardi|
|Stoger happy with Gotze response after public criticism|
|AC Milan 3 Chievo 2: Silva spares Rossoneri once more|
|Silva confident Neymar´s future is at PSG|
|´Shameful´ PSG cannot buy a team, says Balotelli|
|All Black Squire suffers broken thumb|
|Everton goal hero Tosun glad Palace move fell through|
|Wigan Athletic 0 Southampton 2: Hojbjerg and Cedric give Hughes first win|
|Pistons got absolutely screwed - Van Gundy slams officiating in loss to Trail Blazers|
|Selection shake-up not down to Ashes drubbing - Strauss|
|Fiorentina rename training ground after late captain Astori|