updated ping to switch cnames