Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
    
Solaris is meant for enterprise situations where a complete network including forward and reverse DNS are available. –  Chris S Jul 27 '10 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. –  disserman Jul 27 '10 at 11:20

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.