dns.name.labels

dns.name

labels(name) -> label_list

Split a domain name into a table of labels (excluding root)