As "best" schools is highly subjective, we Realtor's can't give you our opinion on this (fair housing laws) but can direct you toward resources such as http://www.greatschools.org/.
This may be of help.
You may want to look at googlemaps and work your way south from boston, checking out the town websites as you go. Certain towns will carry a steeper price tag, of course, particularly closer to Boston. Then cross-reference towns that appeal to you with a Trulia or Realtor.com search to see what is on the market in the towns you like. There is always a trade off and it is important to know what you are willing to compromise on and what are your absolute needs.
What would you consider a short commute? Would you tack on another 10 to 15 minutes to be in a certain price range or would you sacrifice on size/style of home to be in the town you want? To be in a school system that appeals to you? Or to be by the ocean?
It can be helpful to work with a buyer's agent who has knowledge of the area and can help you sift through the town attributes and determine the best place to begin your search. Their job is to save you time by giving you direction on this. Once your criteria are clear to all, they can help expedite the process of finding you the home that meets that criteria.