ns_update() routine in BIND9?
David Botham
DBotham at OptimusSolutions.com
Mon Apr 18 21:10:15 UTC 2005
bind-users-bounce at isc.org wrote on 04/18/2005 04:53:52 PM:
> Hi,
> My application needs to update the zone data periodically. I want
> to write a program to do that. One way is to write a script that
executes
> nsupdate as a command-line. Alternatively, the ns_update() routine in
the
> resolver library of BIND 8 is said to do the same.
> However, I couldn't find ns_update() routine in BIND 9. Does
> anyone know the reason? Is it because ns_update() is buggy?
> Are there any routines, API that can be used to dynamically update
> zone data, instead of the command-line execution? Any comment/suggestion
> is welcomed. Thanks a lot!
Have you looked at the source for nsupdate? Or perhaps you could not find
it... It is located in the source tree here:
bind-9.3.0\bin\nsupdate\
Also, the Net::DNS perl module collection is pretty handy. Specifically,
the Net::DNS::Update module can be found here:
http://search.cpan.org/~olaf/Net-DNS-0.49/lib/Net/DNS/Update.pm
It will require the Net::DNS module I am sure. Look here for a complete
list of the Net::DNS modules available right now:
http://search.cpan.org/~olaf/Net-DNS-0.49/
hth,
Dave...
>
> Best,
> Daphne
>
>
More information about the bind-users
mailing list