mirror of
https://github.com/juanfont/headscale.git
synced 2026-09-26 02:04:53 +09:00
b4f991b381
DNS names are case-insensitive, but clients match extra records against
the lowercased query name, so records with mixed-case names (for example
"Printer.fritz.box" in an extra_records_path file) never resolved and
queries fell through to the global nameserver.
Normalize record names to lowercase where the records enter the tailcfg
DNS config, covering both dns.extra_records and extra_records_path.
Fixes #2782
(cherry picked from commit 95ba1f0566)