python dns parser socket.getaddrinfo("http://www.news.com",None)when you try to parser dns,can not start with http://,belows is the right waysocket.getaddrinfo("www.xx.com",None)