Dear Team,
I am running BIND 9.10.2 version on CentOS and running roughly 500 domains and for most of them I am a slave server.
In few of them, I have different zone file based on Internal and External view.
And for rest of them, I am using a single file for both the View.
This configuration was working fine till BIND version 9.9.5 but yesterday I updated to 9.10.2 and I am facing the following error.
May 29 12:43:58 NKN-IPV6-DNS named[17727]: /var/named/zonedata/gov-zone.data:3: writeable file 'govdomains/xyz.gov.in.fwd': already in use: /var/named/zonedata/gov-zone.data:3
This is happening because I am calling same zone file in both view.
Please help me out what I should do for getting rid of this issue.
Thanks and Regards,
Gaurav Kansal
> >From 9.10.0 there is a new zone type 'in-view'. From the release notes:
> The new "in-view" zone option allows zone data to be shared between views, so that multiple views can serve the same zones authoritatively without storing multiple copies in memory. [RT #32968]
> I think this will do what you want (apologies for the scant documentation about it)
Thanks Cathy.
It will help me a lot.
Actually I had add zone definition of all my zones (roughly 500) in one file and include the same file in both the view.
Now I have to create 2 files with different zone definition (one contains definition and the second one contains ‘in-view’ parameter). I know that this is not at all tough I but I just need to know if I can use same file for including in both the view (by anyhow).
Regards,
Gaurav Kansal