I have a server with Internet connection and /etc/resolv.conf with Real DNS servers. when I put the server in a close network without internet the server become very slow. I suspect that it's the DNS resolving. any idea how to fix it? maybe with nsswitch.conf?
should I add [NOTFOUND=return] in hosts: files dns