mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-25 10:36:20 +00:00
This adds helper functions for DNS name handling. They were propeled by a demand to manipulate and validate names containing wildcard prefixes. The new helper functions provide the ability to traverse parents of DNS names, validate wildcard labels, and normalize input names into FQDN by other components of Tailscale that will soon support wildcard prefixes. Updates #1196 Signed-off-by: Fernando Serboncini <fserb@tailscale.com>