Fix rspec due to an invalid dns becoming valid

Fix rspec due to an invalid dns becoming valid. Can merge if Travis says ok.

If you guys don't think this is the best solution, we'll talk about the best solution later because we're in need of fixing travis fast.