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.
|Silva confident on Everton transfer targets|
|Golden Boot winner Kane aims to break August hoodoo|
|NFL training camp 2018: Contract holdouts and where they stand|
|Guardiola took me to another level - Alaba|
|Madrid selling Ronaldo a ´historic error´ - Calderon|
|MLS Review: LAFC, Atlanta held at home|
|Stones will watch re-runs of England´s World Cup matches|
|Ferdinand challenges Mourinho to unleash Pogba at United|
|Mbappe: I´m staying at PSG|
|Former NHL goalie Ray Emery found dead|
|Pirates secure five-game sweep of Brewers with walk-off win|
|WATCH: LeBron receives standing ovation at Lakers´ summer league game|
|Tony Romo wins celebrity-filled American Century Championship|
|McGregor praises Putin after attending World Cup final|
|Open-bound Kim claims maiden title with eight-shot triumph|
|Eagles running back Sproles plans to retire after next season|
|World Cup winner Rami retires from international football|
|Wimbledon champion Djokovic did not expect grand slam glory so soon|
|Ibrahimovic praises Pogba after World Cup final display|
|Wimbledon diary: Avengers too late for an Infinity War as Djokovic triumphs|
|Deschamp-agne – France´s 2018 vintage interrupt news conference to drench coach|
|I may have to dust my boots off! - Pele threatened by Mbappe exploits|
|WATCH: Mendy and Pogba dab with president Macron after World Cup win|
|Woods embracing ´different´ Carnoustie challenge ahead of Open return|
|Argentina dismiss Sampaoli after chaotic World Cup|
|France celebrates World Cup triumph|
|Djokovic made ´improvised Wimbledon trophies´ as a boy|
|Stone goes agonisingly close to 59 as Pepperell & Dantorp also make Open|
|Outcast Benzema delights in France win|
|Final a triumph in itself given Croatia´s off-field turmoil|
|Anderson laments Wimbledon final nerves|
|Deschamps joins elite club, Mbappe second to Pele - the best stats from the World Cup final|
|Belgium´s Courtois wins World Cup Golden Glove|
|Collarbone fracture confirmed for ´devastated´ Porte|
|World Cup final player ratings: Griezmann, Mbappe inspire France as Croatia fall short|
|World Cup winner Giroud ends tournament without shot on target|
|Modric wins World Cup Golden Ball|
|Mbappe wins World Cup Young Player award|
|Deschamps redeemed as France win World Cup final for the ages|
|France 4 Croatia 2: Twitter Report|
|Tomlin optimistic over Bell contract|
|Kane wins World Cup Golden Boot|
|Ajax keen on Blind deal - Van der Sar|
|France 4 Croatia 2: Pogba and Mbappe seal thrilling World Cup triumph|
|Anderson would have played another 21 hours to reach Wimbledon final|
|Djokovic delighted to crown ´comeback´ with Wimbledon glory|
|World Cup final interrupted by pitch invaders - Pussy Riot claim responsibility|
|Djokovic´s grass-court U-turn pays ultimate dividends with Wimbledon title|
|Mandzukic makes World Cup history with early own goal|
|Dominant Djokovic beats Anderson to regain Wimbledon title|
|Everybody said I´m done - Degenkolb revels in first Tour victory|
|´Big party´ for Marquez after Sachsenring success|
|Hazard enjoys Belgium´s welcome home|
|Ex-AC Milan president Berlusconi conflicted over Ronaldo to Juventus|
|Spain did not contact Martinez over head coach vacancy|
|Maybe the VAR was watching The Simpsons! - RSL coach Petke slams MLS officials|
|Cubs´ Darvish hopes to return by next weekend|
|France and Croatia name unchanged sides for World Cup final|
|Marquez maintains Sachsenring dominance|
|Courtois claims World Cup has boosted his value|
|Buffon beaten on difficult PSG debut|
|Vince called up for Headingley decider|
|Farah inspires Tigers win over Dragons, Warriors and Roosters triumph|
|Crash forces Porte out of Tour for second year running|
|Ronaldo considered Napoli move, says De Laurentiis|
|Mafi arrested for allegedly assaulting Rebels team-mate|
|Everybody is welcome - Croatia pitch for neutral support in World Cup final|
|West Ham seal club-record swoop for Felipe Anderson|
|Rooney applauds England for capturing fans´ imagination|
|Krajicek urges Anderson to go for broke in Wimbledon final|