nsupdate qestion
billy bob
fat_billybob at yahoo.com
Tue Dec 10 21:50:46 UTC 2002
Hi
I need to find a solution to because bind update from
his mydomain.com.log file every 1 hour ( and it's a
good time value)( so i can't touch it). but sometime
I would need to tell(manually) my named to look at
his mydomain.com.log file to update. cause
I have some hosts added to ddns, but the information
only take effect 1 hour later... ( that's too long)
so if I can manually tell named to look his
mydomain.com.log file to update it .. it will be
great...
if you have any ideas.
thanks again
billy
--- Kevin Darcy <kcd at daimlerchrysler.com> wrote:
>
> billy bob wrote:
>
> > Hi everyone.
> >
> > there is a way to pass a standard journal file to
> > nsupdate command?
> >
> > that's my mydomain.com.log file
> >
> > ;BIND LOG V8
> > [DYNAMIC_UPDATE] id 0 from [127.0.0.1].53 at
> > 1015009678 (named pid 2804):
> > zone: origin mydomain.com class IN serial
> 2001442926
> > prereq: {nxrrset} PC102.mydomain.com. IN A
> > update: {add} PC102.mydomain.com. 129600 IN A
> > 10.0.0.192
> >
> > [INCR_SERIAL] from 2001442926 to 2001442927 Mon
> Dec 9
> > 13:47:59 2002
> >
> > [DYNAMIC_UPDATE] id 0 from [127.0.0.1].53 at
> > 1015009685 (named pid 2804):
> > zone: origin mydomain.com class IN serial
> 2001442927
> > prereq: {nxrrset} pc103.mydomain.com. IN A
> > update: {add} pc103.mydomain.com. 129600 IN A
> > 10.0.0.157
> >
> > [INCR_SERIAL] from 2001442927 to 2001442928 Mon
> Dec 9
> > 13:48:05 2002
> >
> > the nsupdate command work well with "prereq" and
> > "update", but there is some error with theses 3
> > options.
> >
> > 1- [DYNAMIC_UPDATE]
> > > nsupdate -d ./mydomain.com.log
> > > incorrect section name: [DYNAMIC_UPDATE]
> > > section ZONE not permitted
> > > incorrect section name: [INCR_SERIAL]
>
> This is nothing that a little script pre-processing
> -- using Perl, nawk,
> or your favorite scripting tool -- couldn't fix.
>
> I'm curious _why_ you'd want to generate nsupdate
> commands from a log
> file, though (note that a log file is different from
> a journal file).
> Usually it's the other way around, i.e. the log file
> is generated in
> response to Dynamic Updates, through nsupdate or
> some other mechanism...
>
>
> - Kevin
>
>
>
>
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
More information about the bind-users
mailing list