Skip to content

v0.5.0 — third-level names through a wildcard

Latest

Choose a tag to compare

@ralyodio ralyodio released this 05 Aug 04:24
· 2 commits to main since this release
57a07eb

Names under a name

  • A third-level name like www.chovy.hacker now resolves. It is asked of the registry as written, and a name the registry does not hold falls back to the owner's published *.chovy.hacker wildcard.
  • * is a label only whole and only leftmost: f*.chovy.hacker and foo.*.hacker are not names the registry can be asked about.
  • A sub-name that misses everywhere is NXDOMAIN rather than parked. Parking exists to explain that a name is for sale, and a sub-name has nothing to park to.
  • The answer keeps the name that was asked, as a wildcard answer should — the wire codec writes the question's name into every owner field.

Also

  • Resolve several names in one go (#17).
  • Inspect published AAAA records, including on wildcards.

Note for moshcode

moshcode vendors this package as src/dns.mjs and guards the copy with a drift test against the published tarball, so this release is what lets that copy learn subdomains.