socket.getaddrinfo("http://www.news.com",None)
when you try to parser dns,can not start with http://,
belows is the right way
socket.getaddrinfo("www.xx.com",None)
when you try to parser dns,can not start with http://,
belows is the right way
socket.getaddrinfo("www.xx.com",None)
![](http://img.zemanta.com/pixy.gif?x-id=afe0ede1-b794-83aa-9459-497b4619bd2c)