automatically set up resolver config for osx hosts

this still needs testing and parameterization, but i wanted to get some
initial code out there to help the bootstrapping case