code: def rpc_get_zonefiles_by_block( self, from_block, to_block, offset, count, **con_info ):
          
          conf = get_blockstack_opts()
          if not is_atlas_enabled(conf):
              return {'error': 'Not an atlas node', 'http_status': 400}
  
          if not check_block(from_block):
              return {'error': 'Invalid from_block height', 'http_status': 400}
  
          if not check_block(to_block):
              return {'error': 'Invalid to_block height', 'http_status': 400}
  
          if not check_offset(offset):
              return {'error': 'invalid offset', 'http_status': 400}
  
          if not check_count(count, 100):
              return {'error': 'invalid count', 'http_status': 400}
  
          zonefile_info = atlasdb_get_zonefiles_by_block(from_block, to_block, offset, count, path=conf['atlasdb_path'])
          if 'error' in zonefile_info:
             return zonefile_info
  
          return self.success_response( {'zonefile_info': zonefile_info } )
docs: Get information about zonefiles announced in blocks [@from_block, @to_block]
          @offset - offset into result set
          @count - max records to return, must be <= 100
          Returns {'status': True, 'lastblock' : blockNumber,
                   'zonefile_info' : [ { 'block_height' : 470000,
                                         'txid' : '0000000',
                                         'zonefile_hash' : '0000000' } ] }