It would be very simple to implement secure and resilient localized and distributed DNS.
The basic minimal mechanics for doing this requires just a caching and persistent DNS rad through server on localhost pointed to by your operating systems DNS settings.
There is already a set of cryptic but existing protocol extensions DNSSEC to the IETF DNS RFC’s, and also DNS over TLS. These would provide secure lookup of DNS records.
A further distributed peer to peer layer would ensure another level of integrity and resilience under network stress and DDoS attack conditions.