in reply to Re: importing text to DNS...Code
in thread importing text to DNS...Code

HI Eosbuddy , I tried to use the WDNS.pl script. But , As I am very new to perl , I was wondering do we have to copy the whole WDNS script or what ? ( here DNS is running on windows 2003 ) So do we also have to run that only just windows on which it is working ? I tried n just copy - pasted the script , but dint get any results, so what should be done here ..!

Replies are listed 'Best First'.
Re^3: importing text to DNS...Code
by eosbuddy (Scribe) on Jul 24, 2008 at 23:20 UTC
    Hi ajd335, I apologize for the lack of response as I have not been checking perlmonks for the past couple of days. I also regret that I won't be able to help you out much here - it looks like a configuration error at your end and will need someone with perl+network experience, physically sitting at your table to see what is going wrong.
      Hi Eosbuddy , It's fine , I will check the matter out. Thanks for your help , it really helped me alot... Thanks
Re^3: importing text to DNS...Code
by eosbuddy (Scribe) on Jul 22, 2008 at 22:17 UTC
    Hi ajd335, You have to cut and paste the script via notepad into a text file and then run it by opening up a the DOS prompt (on xp: start -> run -> cmd) using the command:
    C:\Documents and Settings> perl WDNS.pl
    more info here: http://www.gossland.com/course/intro/running.html There are also many alternatives to the DOS prompt (here's a gui): http://internetducttape.com/2006/09/08/using-perl-on-windows-part-1-installing-activestate-perl/ There maybe more options out there.
      Hi Eosbuddy, I am getting the error , "cant retrieve from the zones"; When I commented out the die part , it ask me like hostname to IP add want to delete or not as well as the modify option . but even if I give to modify the data , the changes does not show up. I guess the all problem is due to the Zones.... It's just in the beginning of the script ...Can you please tell me what is causing the problem... Thanks a lot ....
      Hi Eosbuddy, Thanks for you help so far. When I run the script on SSH , it gives me below errors , Error retrieving list of zones from this server (-1) Reading zones from server dnssrv.my.dom.ain ... What can be the problem , in the beginning of the script , there is one  $dnssrv = "dnssrv.my.dom.ain"; where I have also provided my domain name . but it gives me that error.