In the past couple of years, dozens of localities, anticipating that the state will eventually allow drilling, have enacted local bans or moratoriums on drilling at therequest of residents who have petitioned town boards saying such heavy industrial activity is inconsistent with the community character and that they fear potential health and environmental risks.