Most (but again, not all) airports connect international terminals airside. When you're connecting from an international flight to a domestic one, you'll always have to exit and reenter security as you'll need to go through customs and immigration (unless you have gone through preclearance aboard, which is rare).