Host Name Resolving

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#

Get Solaris™ Operating Environment Boot Camp now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.