O'Reilly logo

Solaris™ Operating Environment Boot Camp by Dominic Butler, David Rhodes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required