Host Name Resolving

Team-Fly    

Solaris™ Operating Environment Boot Camp
By David Rhodes, Dominic Butler
Table of Contents
Chapter 15.  Dialing in with PPP


When the connection is established, most network tasks are performed for us by PPP. The only one remaining is to enable host name resolving, which we do by running DNS. We have already performed this task in Chapter 13, "Connecting to the Internet," so it should be a relatively easy task.

To do this we have to create a /etc/resolv.conf file and update /etc/nsswitch.conf to support DNS. We were supplied the address of the nameserver by the ISP, so here are our entries after we have updated the relevant files:

 cesium# grep hosts /etc/nsswitch.conf hosts: files dns cesium# cesium# cat /etc/resolv.conf search solarisbootcamp.com nameserver 136.89.22.4 cesium# 

    Team-Fly    
    Top
     



    Solaris Operating Environment Boot Camp
    Solaris Operating Environment Boot Camp
    ISBN: 0130342874
    EAN: 2147483647
    Year: 2002
    Pages: 301

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net