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 files are fine if you have a small number of zones, or >> small zones. But for servers with large numbers of zones, or large >> zones, reading back from text files when starting the server can take >> a long time. The "raw" format helps by speeding up load time. The >> newer "map" format in BIND 9.10 is even better, and can improve zone >> load time over the "raw" format by a factor of 3. >> >> As an example, on one of my BIND slaves with over 5000 zones, reading >> from plain text zone files takes about 90 seconds, from raw files, it >> takes 45 seconds, and from map files, just 15 seconds > > agreed, but in case of debugging temporary switch to text > makes thins easier to watch including sniff the traffic > of zone-transfers - made it as example possible for me > to *really* find out that the master was sending expected > zone content and the cisco router between mangeled it
however, i wonder what takes 90 seconds to load 5000 zones our master has 533 zones, zone files generated with self written scripts as plaintext and loads them due a hard restart within 0.3 seconds and all notifies to the slave happen in the same second the records-sql table has 3000 entries for all zones (backend generates the zone-files in another table as text-field and that content is fetched in case of changes from cronobs on the nameservers and written down to zonefiles in case of changes) [root@ns2:~]$ cat named.log | grep "loaded serial" | wc -l 533 09-Jul-2014 15:06:30.734 general: exiting 09-Jul-2014 15:06:30.827 general: managed-keys-zone: loaded serial 0 09-Jul-2014 15:06:30.948 general: all zones loaded 09-Jul-2014 15:06:30.968 notify: zone ***/IN: sending notifies (serial 2014070201) last message on the slave - all happens at 15:06 09-Jul-2014 15:06:57.961 general: zone ***/IN: notify from 10.0.0.16#15394: zone is up to date
signature.asc
Description: OpenPGP digital signature
_______________________________________________ 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