Test dns resolve of localhost.