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 way
socket.getaddrinfo("www.xx.com",None)

原文地址:https://www.cnblogs.com/lexus/p/1746998.html