feature(dnsDomainLevels): add built-in dnsDomainLevels function