async function getPrimaryUrl (url) {
  var key = await fromURLToKey(url, true)
  var datDnsRecord = await hyperDnsDb.getCurrentByKey(key)
  if (!datDnsRecord) return `hyper://${key}/`
  return `hyper://${datDnsRecord.name}/`
}
@desc
Get the primary URL for a given dat URL

@param {string} url
@returns {Promise<string>}