Re: writeable file 'domain.com': already in use
On 16/06/2016 15:57, Alan Clegg wrote: > Change where it says: file "foo"; so that you don't have two zones with > "foo". You might keep the names but put them in different folders. That would eventually be different filenames. > > AlanC > > On 6/16/16, 4:16 AM, "Daniel Dawalibi" on behalf of daniel.dawal...@idm.net.lb> wrote: > >> Do you have the correct syntax to be adjusted on both views? >> >> -Original Message- >> From: bind-users-boun...@lists.isc.org >> [mailto:bind-users-boun...@lists.isc.org] On Behalf Of Ray Bellis >> Sent: 16 June, 2016 11:04 AM >> To: bind-users@lists.isc.org >> Subject: Re: writeable file 'domain.com': already in use >> >> On 16/06/2016 07:53, Daniel Dawalibi wrote: >> >>> We are upgrading our DNS authoritative BIND version 9.10.4-P1 but we >>> are facing "writing errors" on the slave zone files that are >>> transferred from other Master DNS servers. >>> >>> Our configuration consists of two views (local and inter) and the >>> domain is configured in both views sections. >>> >>> The problem was solved after removing the zone from one VIEW but is >>> there any workaround for this issue without removing the zone from the >>> view section (either Local or Inter)? >> BIND 9.10.4 doesn't allow you to use the same filename for the same zone >> in >> different views (since the content should be different). >> >> Simply change the "file" directive in one of the views and you should be >> fine. >> >> Ray >> >> >> ___ >> Please visit https://lists.isc.org/mailman/listinfo/bind-users to >> unsubscribe from this list >> >> bind-users mailing list >> bind-users@lists.isc.org >> https://lists.isc.org/mailman/listinfo/bind-users >> >> ___ >> Please visit https://lists.isc.org/mailman/listinfo/bind-users to >> unsubscribe from this list >> >> bind-users mailing list >> bind-users@lists.isc.org >> https://lists.isc.org/mailman/listinfo/bind-users > > ___ > Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe > from this list > > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users -- Best regards Sten Carlsen No improvements come from shouting: "MALE BOVINE MANURE!!!" ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: writeable file 'domain.com': already in use
Change where it says: file "foo"; so that you don't have two zones with "foo". AlanC On 6/16/16, 4:16 AM, "Daniel Dawalibi" wrote: >Do you have the correct syntax to be adjusted on both views? > >-Original Message- >From: bind-users-boun...@lists.isc.org >[mailto:bind-users-boun...@lists.isc.org] On Behalf Of Ray Bellis >Sent: 16 June, 2016 11:04 AM >To: bind-users@lists.isc.org >Subject: Re: writeable file 'domain.com': already in use > >On 16/06/2016 07:53, Daniel Dawalibi wrote: > >> We are upgrading our DNS authoritative BIND version 9.10.4-P1 but we >> are facing "writing errors" on the slave zone files that are >> transferred from other Master DNS servers. >> >> Our configuration consists of two views (local and inter) and the >> domain is configured in both views sections. >> >> The problem was solved after removing the zone from one VIEW but is >> there any workaround for this issue without removing the zone from the >> view section (either Local or Inter)? > >BIND 9.10.4 doesn't allow you to use the same filename for the same zone >in >different views (since the content should be different). > >Simply change the "file" directive in one of the views and you should be >fine. > >Ray > > >___ >Please visit https://lists.isc.org/mailman/listinfo/bind-users to >unsubscribe from this list > >bind-users mailing list >bind-users@lists.isc.org >https://lists.isc.org/mailman/listinfo/bind-users > >___ >Please visit https://lists.isc.org/mailman/listinfo/bind-users to >unsubscribe from this list > >bind-users mailing list >bind-users@lists.isc.org >https://lists.isc.org/mailman/listinfo/bind-users ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
RE: writeable file 'domain.com': already in use
Do you have the correct syntax to be adjusted on both views? -Original Message- From: bind-users-boun...@lists.isc.org [mailto:bind-users-boun...@lists.isc.org] On Behalf Of Ray Bellis Sent: 16 June, 2016 11:04 AM To: bind-users@lists.isc.org Subject: Re: writeable file 'domain.com': already in use On 16/06/2016 07:53, Daniel Dawalibi wrote: > We are upgrading our DNS authoritative BIND version 9.10.4-P1 but we > are facing "writing errors" on the slave zone files that are > transferred from other Master DNS servers. > > Our configuration consists of two views (local and inter) and the > domain is configured in both views sections. > > The problem was solved after removing the zone from one VIEW but is > there any workaround for this issue without removing the zone from the > view section (either Local or Inter)? BIND 9.10.4 doesn't allow you to use the same filename for the same zone in different views (since the content should be different). Simply change the "file" directive in one of the views and you should be fine. Ray ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: writeable file 'domain.com': already in use
On 16/06/2016 09:01, Evan Hunt wrote: > Use the "in-view" statement so that there's only one copy of the zone > shared by both views. Yes, or that, if they really are the same zone contents in both views. Ray ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: writeable file 'domain.com': already in use
On 16/06/2016 07:53, Daniel Dawalibi wrote: > We are upgrading our DNS authoritative BIND version 9.10.4-P1 but we are > facing “writing errors” on the slave zone files that are transferred > from other Master DNS servers. > > Our configuration consists of two views (local and inter) and the > domain is configured in both views sections. > > The problem was solved after removing the zone from one VIEW but is > there any workaround for this issue without removing the zone from the > view section (either Local or Inter)? BIND 9.10.4 doesn't allow you to use the same filename for the same zone in different views (since the content should be different). Simply change the "file" directive in one of the views and you should be fine. Ray ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: writeable file 'domain.com': already in use
On Thu, Jun 16, 2016 at 09:53:14AM +0300, Daniel Dawalibi wrote: > The problem was solved after removing the zone from one VIEW but is there > any workaround for this issue without removing the zone from the view > section (either Local or Inter)? Use the "in-view" statement so that there's only one copy of the zone shared by both views. Or else use a different file name for the zone in each view, so the two copies of the zone aren't stepping on each other. -- Evan Hunt -- e...@isc.org Internet Systems Consortium, Inc. ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
writeable file 'domain.com': already in use
Hello We are upgrading our DNS authoritative BIND version 9.10.4-P1 but we are facing "writing errors" on the slave zone files that are transferred from other Master DNS servers. Our configuration consists of two views (local and inter) and the domain is configured in both views sections. The problem was solved after removing the zone from one VIEW but is there any workaround for this issue without removing the zone from the view section (either Local or Inter)? BIND configuration file . view "local" in { zone "domain.com"{ type slave; masters { IPsrc; } ; transfer-source IPdest ; file "domain.com"; }; view "internation" in { zone "domain.com"{ type slave; masters { IPsrs; } ; transfer-source IPdes ; file "domain.com"; }; . Errors: Jun 15 09:08:09 DNSAUTH named[17148]: /etc/named.conf:27855: writeable file 'domain.com': already in use: /etc/named.conf:8497 Regards Daniel ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users