A good, flexible caulk like Big Stretch ... or projects that don't require such high temperature resistance, opt for a ...