BEIRUT — Gunmen killed three Lebanese soldiers in a drive-by shooting on a government checkpoint near the Syrian border today, Lebanon’s military said, escalating tensions in a country deeply divided by the civil war next door and fearful of being engulfed by the conflict.

Sectarian clashes tied to Syria’s war have broken out with increasing regularity in Lebanon, while rockets