fix dns resolve under python 2.7