Is there a python-module that\'s doing the same stuff as nslookup does? I am planning to use nslookup on digging some information regarding the domain of a URL to be scrappe
You should use socket library http://docs.python.org/2/library/socket.html
System function call is not a good practice in this case.