I hear ya red leader. That's exactly my thinking on signing Dunn long-term.
I think the front end of the contract should be small, with the latter years being backloaded. I would go for a 5 year 55 million contract with a 6th year mutual option. Then after signing him I would sign the best free agent pitcher available to shore up the rotation.