dns.name.parent

dns.name

parent(name) -> parent_name

Strip the leftmost label from a name