When you say "check DNS settings", what exactly are you referring to? Properly configured DNS on the network? An NIS setup across the network?
If you have properly configured DNS on your network, then there should only be the DNS server that you need to check since all other systems on the network should be getting their DNS from that one server.
Now, you could be needing to check /etc/resolv.conf of the different servers to make sure that they have the "nameserver <DNS.server.ip.addy>
" entries, but once that is set, it shouldn't change without someone having root access to the box and going in and manually changing it.
The last thing I think you might want to check would be the /etc/nsswitch.conf file which tells the system in which order to check host entries, like:
hosts: files dns
networks: files dns
In the above snippet from my /etc/nsswitch.conf file, you can see that I am checking my local /etc/hosts file before my system goes out to check any DNS servers. If I had an NIS setup on our network, I would have the entries for those two lines as "files nis dns".
Now, as a thought before I submitted this response: Are the servers that you want to check using static IP addresses or are they running DHCP?
If they are getting their network information from DHCP, then the control of where you are pointing for DNS generally starts at the DHCP server since it should be passing the preferred DNS server information with the newly-leased IP address for the system. There is the possibility of overriding it with local administrator configuration settings for the specific system. Again, that would require someone going in as root (or with root privileges) and setting up those configuration settings.
HTH. Let us know.