[rbldnsd] Reloading individual files in a combined zone?

Dallas Engelken dallase at uribl.com
Thu Jan 17 18:03:52 MSK 2008


Michael Tokarev wrote:
> Dallas Engelken wrote:
>   
>> Hi,  Sorry if this has been answered before.   I have a combined zone 
>> like so.
>>
>> zone.local:combined:file1,file2
>>
>> file1 is very large and only changes once a week.   file2 changes 
>> frequently.   When file2 changes, the whole combined zone reloads, which 
>> takes a while since file1 is so large.    Is there a way to only make 
>> the zone reload the file that changes, or is that not possible?
>>     
>
> Don't confuse "zone" and "dataset".
>
>   
>> I know if I seperate them out into
>>
>> zone1.local:dnset:file1
>> zone2.local:dnset:file2
>>
>> a change to file2 only causes a reload of zone2.local, but that defeats 
>> the purpose of having all the data in a single queryable zone.
>>     
>
> You're VERY close.  Try this:
>
>  zone1.local:dnset:file1
>  zone1.local:dnset:file2
>     ^^^
>
> I.e, the SAME zone.
>   

Perfect, and I can even use combined in this way, so I can define a 
longer $TTL on the more static data in file1.

zone1.local:combined:file1 \
zone1.local:combined:file2

I thought I had to comma seperate the files in a combined zone...  good 
to know.

I really appreciate the help.

Thanks,

-- 
Dallas Engelken
dallase at uribl.com
http://uribl.com



More information about the rbldnsd mailing list