Here is a goal: how to seal dryer vent leaks

Which way makes more sense to accomplish this goal?

pick from the following. A). Go outside and put silicon caulk on the outside edge of the vents, where it meets the wall. B). Go outside and put silicon caulk on the outside edge of the windows and doors, where it meets the wall.
A).