Single slave zone definition for two view (cache file name problem)

Constantin Stefanov cstef at parallel.ru
Wed Mar 18 09:05:45 UTC 2015


On 18.03.2015 11:56, Matus UHLAR - fantomas wrote:
> On 18.03.15 11:48, Constantin Stefanov wrote:
>> But in fact the configuration with only one writable file referenced
>> several times is suported now. If I write:
>>
>> view "view1" {
>> 	zone "aaa.exampe.org" {
>> 		masters {IP;};
>> 		file "slave/aaa.exmaple.org";
>> 	};
>> };
>>
>> view "view2" {
>> 	zone "aaa.exampe.org" {
>> 		in-view "view1";
>> 	};
>> };
>>
>> then both views will refernce ther same writable file, won't they? Or am
>> I missing something about "in-view" directive?
>>
>> And if I'm right, the only question is how to simplify the configuration
>> so not to have two definitions in two files for every slave zone which
>> is shared between views.
> 
> maybe you could put all those zone definitions into one file and include it
> in each view.
I can't. It stopped working after upgrade to 9.10, but worked before
with 9.6. And the question is how to keep the config as simple as it was
before upgrade.

> the only other way is stop using views...
> 

-- 
Konstantin Stefanov,

Research Computing Center
M.V Lomonosov Moscow State University


More information about the bind-users mailing list