Re: rndc addzone and file name

2011-01-14 Thread Alan Clegg
On 1/14/2011 4:06 PM, Timothe Litt wrote: >>> You can use the 'named-checkconf -p' to create a fully "expanded" >>> version of the running configuration file as needed for bug reports, etc. > > ?? Including zones added by "addzone"? How does checkconf find them? Well, it _should_ find them the s

Re: rndc addzone and file name

2011-01-14 Thread Peter Andreev
Now I see, I really was mistaken about addzone. Kalman, Alan, thank you very much for explanation. I think, I won't break working things and continue with includes and scripts :) 2011/1/14 Alan Clegg : > >> You haven't understood. I have several includes within one default >> view and I need to ad

Re: rndc addzone and file name

2011-01-14 Thread Alan Clegg
> You haven't understood. I have several includes within one default > view and I need to add zones to them. Different zones to different > includes. For me name of view doesn't matter. The zones added using "addzone" and removable using "delzone" aren't going to show up in your include files. T

Re: rndc addzone and file name

2011-01-14 Thread Kalman Feher
On 14/01/11 12:51 PM, "Peter Andreev" wrote: > 2011/1/14 Kalman Feher : >> >> >> >> On 14/01/11 9:57 AM, "Peter Andreev" wrote: >> >>> 2011/1/13 Alan Clegg : On 1/13/2011 11:08 AM, Peter Andreev wrote: > I've executed > rndc addzone test.test '{ type master; file "/etc/

Re: rndc addzone and file name

2011-01-14 Thread Peter Andreev
2011/1/14 Kalman Feher : > > > > On 14/01/11 9:57 AM, "Peter Andreev" wrote: > >> 2011/1/13 Alan Clegg : >>> On 1/13/2011 11:08 AM, Peter Andreev wrote: >>> I've executed rndc addzone test.test '{ type master; file "/etc/namedb/master/test.1"; };' and have got the file /e

Re: rndc addzone and file name

2011-01-14 Thread Kalman Feher
On 14/01/11 9:57 AM, "Peter Andreev" wrote: > 2011/1/13 Alan Clegg : >> On 1/13/2011 11:08 AM, Peter Andreev wrote: >> >>> I've executed >>> rndc addzone test.test '{ type master; file "/etc/namedb/master/test.1"; };' >>> >>> and have got the file /etc/namedb/3bf305731dd26307.nzf: >>> zone t

Re: rndc addzone and file name

2011-01-14 Thread Peter Andreev
2011/1/13 Alan Clegg : > On 1/13/2011 11:08 AM, Peter Andreev wrote: > >> I've executed >> rndc addzone test.test '{ type master; file "/etc/namedb/master/test.1"; };' >> >> and have got the file /etc/namedb/3bf305731dd26307.nzf: >> zone test.test { type master; file "/etc/namedb/master/test.1"; };

Re: rndc addzone and file name

2011-01-13 Thread Alan Clegg
On 1/13/2011 11:08 AM, Peter Andreev wrote: > I've executed > rndc addzone test.test '{ type master; file "/etc/namedb/master/test.1"; };' > > and have got the file /etc/namedb/3bf305731dd26307.nzf: > zone test.test { type master; file "/etc/namedb/master/test.1"; }; > > The question was: can I

Re: rndc addzone and file name

2011-01-13 Thread Peter Andreev
I see that my first post wasn't clear, please, excuse me. I'll try to explain the situation. I have: named.conf: ... include "includes/file1"; include "includes/file2"; etc ... eof I've executed rndc addzone test.test '{ type master; file "/etc/namedb/master/test.1"; };' and have got the file /

Re: rndc addzone and file name

2011-01-13 Thread Alan Clegg
On 1/13/2011 9:43 AM, Peter Andreev wrote: > I have several includes which are edited via hand-written script and > now I'm trying to simplify it by using add/delzone options of rndc. Yay! > So, the question is: how can I specify files where rndc addzone puts > new zones' descriptions? You prov

Re: rndc addzone and file name

2011-01-13 Thread Yohann Lepage
Hi, http://www.google.com/search?q=rndc+addzone 1st link : rndc addzone example.aa in myview '{type master; file "master/example.aa";};' Not tested. 2011/1/13 Peter Andreev : > Hello, All! > > I have several includes which are edited via hand-written script and > now I'm trying to simplify it

rndc addzone and file name

2011-01-13 Thread Peter Andreev
Hello, All! I have several includes which are edited via hand-written script and now I'm trying to simplify it by using add/delzone options of rndc. So, the question is: how can I specify files where rndc addzone puts new zones' descriptions? Thanks in advance. -- -- AP