For connecting domestic flights, you almost never have to exit and reenter security, though there are some exceptions at airports where the terminals aren't all connected. For domestic-to-international connection, it's still pretty rare that you have to exit and reenter security, even if you're changing terminals.