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

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.

Replies are listed 'Best First'.
Re^4: importing text to DNS...Code
by ajd335 (Novice) on Jul 24, 2008 at 20:47 UTC
    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 ....
Re^4: importing text to DNS...Code
by ajd335 (Novice) on Jul 23, 2008 at 18:03 UTC
    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.