Nameserver and domai

I have no idea. Local resolution is a complex matter and vary from a distro to another and even with the configuration options. Personally I never edit resolv.conf and it always has the same content (it’s set by systemd resolver). Without you being more specific it’s not possible to go further, I have not great urge to speculate on a million different use cases.