cut the number of database queries in half for AXFR-in