docs: function dnToDomain (dn) {
    if (!dn || typeof dn !== 'string') { return null }
    var matches = domainDnRegex.exec(dn)
    if (matches) {
      return matches[1].replace(dnPartRegex, '$1.').toLowerCase()
    } else {
      return null
    }
  }