only update resol.conf if we actually need to