mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-10 06:24:09 +09:00
The headless wildcard was listed at three resolution depths while every named service was listed at four. A client resolving the missing 3-label form presents that name during the handshake, and a SAN gap fails verification, so the wildcard now covers the same depths as the rest of the list. The external hostname was also read straight off _namespace, which raises a raw nil pointer error naming neither the value nor the reason when the key is absent. Route it through required, and tolerate an absent or null _namespace so the explanatory message is what surfaces rather than an index error. Signed-off-by: Aleksei Sviridkin <f@lex.la>