mirror of
https://github.com/netbirdio/netbird.git
synced 2026-08-25 09:01:29 +02:00
Adds PickTuple, which draws an adjective and a noun to form a single DNS label such as "brave-otter". The existing single-word generator kept a per-cluster "taken" set and guessed uniqueness up front; a later commit replaces that with a database constraint and a retry, so PickTuple deliberately takes no taken set and has no fallback suffix. The adjectives live in their own pool rather than reusing the noun list, which is almost entirely nouns -- drawing twice from it produces "millet-hammock", which reads as noise rather than a name. Tests assert the curation contract the pool depends on: duplicate-free, DNS-safe, and disjoint from the nouns.