Never used before, but I just found this http://www.dnspython.org/
it seems better not to reinvent the wheel spawning a process and parsing the output of a full "dig" command. I just love to find this pieces of software around written in python. On 22 Gen, 23:54, Kenneth Lundström <kenneth.t.lundst...@gmail.com> wrote: > Hello, > > I need to scan a list of domain names to find out the IP-address and > DNS-server of that domain. > > I thought I'd run the dig command and parse the result. > > Is this possible or is there a better way for this? > > Kenneth