def split_fqdn(fqdn):
    """
    Unpack fully qualified domain name parts.
    """
    if not fqdn:
        return [None] * 3
    parts = fqdn.split(".")
    return [None] * (3 - len(parts)) + parts[0:3]