Fix rspec due to an invalid dns becoming valid

Fix rspec due to an invalid dns becoming valid. Can merge if Travis says ok.