Re: slave zone files unreadable

2014-07-12 Thread Alan Clegg
On 7/12/14, 5:33 AM, Reindl Harald wrote: > Am 12.07.2014 04:48, schrieb Alan Clegg: >> nsupdate >> >> If BIND is installed, no dependencies and about as flexible as you can get > > i talk about web-interfaces generating complete zonefiles from > scratch out of a records table, orchestrating 4 r

Re: slave zone files unreadable

2014-07-12 Thread Reindl Harald
Am 12.07.2014 04:48, schrieb Alan Clegg: > On 7/11/14, 9:41 PM, Reindl Harald wrote: > >> i am one of that people because no other software >> is flexible enough or comes with dependency hell > > nsupdate > > If BIND is installed, no dependencies and about as flexible as you can get i talk ab

Re: slave zone files unreadable

2014-07-12 Thread Noel Butler
On 12/07/2014 11:08, Mark Andrews wrote: The real problem is humans. They like to tinker with files (hence the subject line). There really shouldn't be a reason for anyone to need to read slave database files. They are there so named can have the zone content when it starts up rather than hav

Re: slave zone files unreadable

2014-07-11 Thread Alan Clegg
On 7/11/14, 9:41 PM, Reindl Harald wrote: > i am one of that people because no other software > is flexible enough or comes with dependency hell nsupdate If BIND is installed, no dependencies and about as flexible as you can get. AlanC signature.asc Description: OpenPGP digital signature ___

Re: slave zone files unreadable

2014-07-11 Thread Reindl Harald
Am 12.07.2014 03:08, schrieb Mark Andrews: > If we could get people away from wanting to use a editor on master > files directly we would. The practice is highly error prone even > for experts. uhm people wrote interfaces to generate them :-) i am one of that people because no other software is

Re: slave zone files unreadable

2014-07-11 Thread Mark Andrews
In message , Barry Margolin writes: > In article , > Evan Hunt wrote: > > > On Fri, Jul 11, 2014 at 12:12:22PM -0400, John Wobus wrote: > > > In cases analogous to this, software often saves both > > > text and binary, and when initializing, uses mtime to > > > decide whether it can safely use

Re: slave zone files unreadable

2014-07-11 Thread Evan Hunt
On Fri, Jul 11, 2014 at 08:23:34PM -0400, Barry Margolin wrote: > BIND already assumes mtime is reliable -- if you do "ndc reload", it > only reloads zone files whose mtimes are newer than when the zone was > previously loaded. Of course, but it *checks them for validity* when it loads them. If

Re: slave zone files unreadable

2014-07-11 Thread Barry Margolin
In article , Evan Hunt wrote: > On Fri, Jul 11, 2014 at 12:12:22PM -0400, John Wobus wrote: > > In cases analogous to this, software often saves both > > text and binary, and when initializing, uses mtime to > > decide whether it can safely use the binary. Some resources > > are spent storing t

Re: slave zone files unreadable

2014-07-11 Thread Evan Hunt
On Fri, Jul 11, 2014 at 12:12:22PM -0400, John Wobus wrote: > In cases analogous to this, software often saves both > text and binary, and when initializing, uses mtime to > decide whether it can safely use the binary. Some resources > are spent storing the extra file and admins have yet > another

Re: slave zone files unreadable

2014-07-11 Thread John Wobus
In cases analogous to this, software often saves both text and binary, and when initializing, uses mtime to decide whether it can safely use the binary. Some resources are spent storing the extra file and admins have yet another way to screw things up, but the strategy does have benefits. John W

Re: slave zone files unreadable

2014-07-09 Thread Evan Hunt
On Wed, Jul 09, 2014 at 03:16:04PM +0200, Reindl Harald wrote: > however, i wonder what takes 90 seconds to load 5000 zones It scales with both the number of zones and the number of records per zone. Some of those zones are probably quite large. When you're reading text, it takes time to do the

Re: slave zone files unreadable

2014-07-09 Thread Phil Mayers
On 09/07/14 14:16, Reindl Harald wrote: however, i wonder what takes 90 seconds to load 5000 zones Depends how big they are. the records-sql table has 3000 entries for all zones (backend That is not very big. We've got zones with nearly 1M records in them, including NSEC/RRSIG. _

Re: slave zone files unreadable

2014-07-09 Thread Reindl Harald
Am 09.07.2014 14:13, schrieb Reindl Harald: > Am 09.07.2014 14:07, schrieb Anand Buddhdev: >> On 09/07/2014 13:21, Reindl Harald wrote: >> >>> dunno, but i perfer text-format anyways >>> >>> * masterfile-format text; * delete the zone file on the slave * >>> restart the slave >> >> Plain text zone

Re: slave zone files unreadable

2014-07-09 Thread Reindl Harald
Am 09.07.2014 14:07, schrieb Anand Buddhdev: > On 09/07/2014 13:21, Reindl Harald wrote: > >> dunno, but i perfer text-format anyways >> >> * masterfile-format text; * delete the zone file on the slave * >> restart the slave > > Plain text zone files are fine if you have a small number of zones

Re: slave zone files unreadable

2014-07-09 Thread Anand Buddhdev
On 09/07/2014 13:21, Reindl Harald wrote: > dunno, but i perfer text-format anyways > > * masterfile-format text; * delete the zone file on the slave * > restart the slave Plain text zone files are fine if you have a small number of zones, or small zones. But for servers with large numbers of zo

Re: slave zone files unreadable

2014-07-09 Thread Reindl Harald
Am 09.07.2014 10:29, schrieb Manuel Ramirez Montero: > since i have upgraded to 9.9.5-P1 is not possible to read slave zone files. > I have read an article about this : > > https://kb.isc.org/article/AA-00608/0/Converting-Zone-Files-Between-Text-and-Raw-Formats.html > > convert raw zone file "ex