in reply to importing text to DNS...Code

Hi ajd335, Not sure whether this might be what you're looking for: http://www.perl.com/pub/a/2005/03/24/perl_dns.html claims to allow you make the changes from your workstation. As far as my understanding is right, unless you have some DHCP filters on, mac-addresses might not be relevant. All you need is the computer name (FQDN) and ip-address.

Replies are listed 'Best First'.
Re^2: importing text to DNS...Code
by ajd335 (Novice) on Jul 18, 2008 at 17:50 UTC
    Hey EosBuddy, Thanks a million....It's something that I was looking for..I have searched regarding the same Wdns.pl and I got some documents , n it was a really the way I want it to be...at least hope that it works well..I gone through the document( as I am real new to these stuff). I will now start working on the same...But , Thank you so much for your help...If I happen to have questions....will ask you..Thanks once again...
Re^2: importing text to DNS...Code
by ajd335 (Novice) on Jul 22, 2008 at 16:07 UTC
    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 ..!
      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.
      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