Originally Posted by
WhyFi
There's a rapidly growing segment often referred to as 'gravel bikes' or 'adventure bikes' and many bikes in this category will do what you're looking to do. Most major manufacturers now have a model or two in the segment.
Also related to Cross or Cyclocross, often made with rack mounts.
Road is also good for the longer commutes.