Dynamic updates AND multiple zones referencing one zone file?

bindlist bindlist at codewarehouse.NET
Wed Jan 9 21:30:12 UTC 2008




On Wed, 09 Jan 2008 22:46:01 +1100, Mark Andrews <Mark_Andrews at isc.org> wrote:
> 
>>
>> > -----Original Message-----
>> > From: bind-users-bounce at isc.org
>> > [mailto:bind-users-bounce at isc.org] On Behalf Of Kevin Darcy
>> > Sent: Tuesday, January 08, 2008 2:03 PM
>> > To: bind-users at isc.org
>> > Subject: Re: Dynamic updates AND multiple zones referencing
>> > one zone file?
>> >
>> > Jack Tavares wrote:
>> > >>>
>> > >>> My question is:
>> > >>> Am I missing somne trick to do this or is it not possible to
>> > >>> have multiple zones reference one file AND use dynamic updates
>> > >>> on those zones?
>> > >>>
>> > >> 	It is not possible.
>> > >>
>> > >>
>> > >
>> > > Thank you Mark.
>> > > I couldn't see a way that would make it work.
>> > > I am going to have to find another mechanism.
>> > >
>> > >
>> > It should be possible to enhance whatever frontend mechanism
>> > is making
>> > those Dynamic Updates, to make multiple updates to different zones.
>> >
>> > - Kevin
>> >
>> >
>> I tried that. It doesn't work either.
>>
>> with this setup:
>>     zone "test.com." {
>>         type master;
>>         file "db.test";
>>         allow-pdate {

FWIW shouldn't the line above read: allow-update?

>>             localhost;
>>         };
>>     };
>>     zone "test.org." {
>>         type master;
>>         file "db.test";
>>         allow-update {
>>             localhost;
>>         };
>>     };
> 
> 	DO NOT SHARE THE FILE!!!
> 
>> If I try to make both updates at once
>> > [root at d35:Active] config # nsupdate
>> > server 127.0.0.1
>> > update add blah.test.com 500 in a 1.2.3.4
>> > update add blah.test.org 500 in a 1.2.3.4
>> >
>> update failed: NOTZONE
>> >
>>
>> If I try to make them individually the first
>> one succeeds and the 2nd fails
>> # nsupdate
>> > 127.0.0.1
>> > update add blah.test.com 500 in a 1.2.3.4
>> >
>> > update add blah.test.org 500 in a 1.2.3.4
>> >
>> update failed: SERVFAIL
>> >
>> Unless you see a problem with my methods?
>>
>> Thanks.
>> --
>> jack
>>
>>
>>
>>
>>
> --
> Mark Andrews, ISC
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org
/////////////////////////////////////////////////////
Service provided by hitOmeter.NET internet messaging!
.




More information about the bind-users mailing list