Hi all. I'm a newbie,so if this question can be answered with a page on this site or a chapter in the camel book, please tell me.
Ok. I want to write a little script that will connect to a DNS server and feed it the names of user provided websites to get the IPs. I know that I'm going to be calling nslookup, but my question is: once I have the IP of the DNS server, how do I connect to it? Do I have to pipe commands to it, or somehow route nslookup to that Handle, or will it just automatically send it to said DNS server once I have connected? Your help would be much appreciated.
Thanks in advance.