Re: update bind via net::dns

2010-08-31 Thread Jeff Peng
2010/8/31 Andreas Moroder : > Hello, > > I would like to update the bind nameserver via a perl script. > Named is running on the same machine I start the script. > I copied the key from > > named.conf > key DHCP_UPDATER { >  algorithm HMAC-MD5.SIG-ALG.REG.INT; >  secret mykeyishere; > }; > > insert

Re: update bind via net::dns ( NOT resolved )

2010-08-31 Thread Andreas Moroder
Hello, I made the following modification to the script $res = new Net::DNS::Resolver(nameservers => [qw(127.0.0.1)]); and now I get Update error code: NOTAUTH. This now looks really like a authorization problem, but, as I wrote, I got the key from named.conf. Bye Andreas -- To unsubscrib