zonemaster-gui icon indicating copy to clipboard operation
zonemaster-gui copied to clipboard

TLD specific links

Open mattias-p opened this issue 8 months ago • 1 comments

We should add a TLD specific link to TLD information in GUI. We should come up with a design for this feature. Here are some questions that should be answered by the design.

  • What zones are eligible for links?
  • How is the link URL determined?
  • How is the link text determined?
  • What component is responsible for determining the link?
  • How do we protect ourselves from abuse?

mattias-p avatar Apr 02 '25 14:04 mattias-p

The idea is to have link to some TLD specific information added when a second-level domain under that TLD has been tested.

Example:

  • farum.dk has been tested, which is a second level domain under .dk (a TLD)
  • A special DNS query is created and sent:
    • QNAME: "_https._tcp._zonemaster" + TLD, e.g. "_https._tcp._zonemaster.dk"
    • QTYPE: URI
  • If there is RRset matching the query, then select one record
    • If there are multiple RRs, then only keep records with the lowest priority.
    • If there are still multiple RRs, take the first in the list.
    • If record does not have a valid HTTPS URL in RDATA (third sub field), then discard it.
  • If a valid HTTPS URL was found, display e.g. ".dk information" as display name for the URL.
  • Absence of URL is just ignored.

In a future update TLD might be redefined to include TLD like strings like co.tw and pp.se.

matsduf avatar Apr 02 '25 14:04 matsduf