code: def atlasdb_get_zonefile( zonefile_hash, con=None, path=None ):
      
      ret = None
  
      with AtlasDBOpen(con=con, path=path) as dbcon:
  
          sql = "SELECT * FROM zonefiles WHERE zonefile_hash = ? ORDER BY inv_index;"
          args = (zonefile_hash,)
  
          cur = dbcon.cursor()
          res = atlasdb_query_execute( cur, sql, args )
  
          ret = {
              'zonefile_hash': zonefile_hash,
              'indexes': [],
              'block_heights': [],
              'present': False,
              'tried_storage': False
          }
  
          for zfinfo in res:
              ret['indexes'].append( zfinfo['inv_index'] )
              ret['block_heights'].append( zfinfo['block_height'] )
              ret['present'] = ret['present'] or zfinfo['present']
              ret['tried_storage'] = ret['tried_storage'] or zfinfo['tried_storage']
  
      return ret
docs: Look up all information on this zonefile.
      Returns {'zonefile_hash': ..., 'indexes': [...], etc}
      Zonefile information will be ordered by inv_index