fix DNS lookup string