Trancemission
Technical User
I am having big trouble with nslookup with what *should* be a simple script. I have a file where each line lists a domain, I then write a script that will do a nslookup on each line and pass this to another file. My problem is getting nslookup to execute. All I need from ns lookup is the NS records but I also need to define whois.co.uk as the domain server. I could change the resolve.conf file but the box is bring used as a live DNS server and I would not like to change that as this will be an on-going administrative task. I am not worried at getting just the NS record as I can manipulate that after. I am having trouble with the syntax of nslookup to define whois.co.uk as the domain server.