resolv.conf File

Good. The zone files are installed on the master server. Now we need to add the /etc/resolv.conf file; ours is shown below:

antimony# cat /etc/resolv.conf
;
; resolv.conf that queries the
; master name server first, followed
; by the slave name server
;
search solarisbootcamp.com
nameserver 192.168.44.51
nameserver 192.168.44.52
antimony#

This file has a number of options that can be included, but again, we'll only use the most common entries. The “search” value contains the list of domains to be searched, and essentially will be appended to any host name that doesn't include a trailing dot.

We are allowed up to three name server entries in the file. They are queried in the order listed, so we've added our master and slave ...

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.