rows is
    list when get domains
    dict when get specific domain

def pretty_print(rows, keyword, domain):
    """
    rows is
    list when get domains
    dict when get specific domain
    """
    if isinstance(rows, dict):
        pretty_print_domain(rows, keyword, domain)
    elif isinstance(rows, list):
        pretty_print_zones(rows)