OpenSolaris  
 Open Source Software for Solaris
An OpenSolaris Community Site
 Current Software Packages
Open Bug Tracking
   

         : Action to Take : let's finish off /etc/inet/resolv.conf completely. Read below.


image 153
click image for full size

    Given what little you may know about vi I hope that you can hack about within it and get your domain name and DNS server information into /etc/inet/resolv.conf like the example in the picture. Then to save the file and quit vi just simply hit colon : and w ( for write ) and q ( for quit ). Your terminal will display the number of lines and characters. You should also be back at the prompt for the root user.

    To verify the contents of that file simply issue the command cat /etc/inet/resolv.conf and hit return. If you do not see exactly what you expect then you need to edit that file and fix it.



<< previous     next >>


  ©2002-2007 blastwave.org.    OpenSolaris and Solaris are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries.     UNIX is a registered trademark in the United States and other countries, exclusively licensed through X/Open Company, Ltd.      All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the United States and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc.      All other logos and trademarks are registered through their respective owners.      ©2002-2007 blastwave.org™      See “Terms of Use”      Sun™ Logo and OpenSolaris™ Published with Permission from Sun Microsystems, Inc. Valid HTML 4.01!
Valid CSS