def dns_server_port(zone):
    """
    Parses the server and port based on the connection info on the zone
    :param zone: a populated zone model
    :return: a tuple (host, port), port is an int
    """
    name_server = zone['connection']['primaryServer']
    name_server_port = 53
    if ':' in name_server:
        parts = name_server.split(':')
        name_server = parts[0]
        name_server_port = int(parts[1])

    return name_server, name_server_port