def METHOD_NAME(zonename, qtype):
    db, placeholder = get_auth_db()
    cur = db.cursor()
    cur.execute("""
        SELECT name, type, content, ttl, ordername
        FROM records
        WHERE type = """+placeholder+""" AND domain_id = (
            SELECT id FROM domains WHERE name = """+placeholder+"""
        )""", (qtype, zonename.rstrip('.')))
    rows = cur.fetchall()
    cur.close()
    db.close()
    recs = [{'name': row[0], 'type': row[1], 'content': row[2], 'ttl': row[3], 'ordername': row[4]} for row in rows]
    print("DB Records:", recs)
    return recs