Is there any way to configure Solaris NFS server to not backresolve IPs of the client machines when checking access control, except specifying @ before every IP? We never use hostnames so would like to force it to work with IPs only.
-
Solaris is meant for enterprise situations where a complete network including forward and reverse DNS are available.– Chris SJul 27, 2010 at 0:33
-
yes but unfortunately sometimes enterprise need to host a couple of servers on colo and usually reverse dns is available for the customers with IP blocks /24 and more.– dissermanJul 27, 2010 at 11:20
Add a comment
|
1 Answer
Add the hostnames that will connect to your server to the /etc/hosts file.
Make sure the /etc/nsswitch.conf file lists 'file' in the dns line (it's the default).
There is no way to tell the code NOT to look up hostnames so you must "cheat" by forcing it in /etc/hosts.