> This document specifies that the DNS top-level domain ".local." is a special domain with special semantics, namely that any fully qualified name ending in ".local.
https://datatracker.ietf.org/doc/html/rfc6762
Applications can/will break if you attempt to use .local outside of mDNS (such as systemd-resolved). Don't get upset when this happens.
Interesting fact: RFC 6762 predates Kubernetes (one of the biggest .local violators), they should really change the default domain...