Novell LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007 Installation Manual page 603

Table of Contents

Advertisement

An (optional) fifth column can be used to specify the type of a route. Columns that are
not needed should contain a minus sign - to ensure that the parser correctly interprets
the command. For details, refer to the routes(5) man page.
/etc/resolv.conf
The domain to which the host belongs is specified in this file (keyword search). Also
listed is the status of the name server address to access (keyword nameserver).
Multiple domain names can be specified. When resolving a name that is not fully
qualified, an attempt is made to generate one by attaching the individual search entries.
Use multiple name servers by entering several lines, each beginning with nameserver.
Precede comments with # signs. YaST enters the specified name server in this file.
Example 30.5, "/etc/resolv.conf"
(page 585) shows what /etc/resolv.conf
could look like.
Example 30.5 /etc/resolv.conf
# Our domain
search example.com
#
# We use sun (192.168.0.20) as nameserver
nameserver 192.168.0.20
Some services, like pppd (wvdial), ipppd (isdn), dhcp (dhcpcd and
dhclient), pcmcia, and hotplug, modify the file /etc/resolv.conf by
means of the script modify_resolvconf. If the file /etc/resolv.conf has
been temporarily modified by this script, it contains a predefined comment giving in-
formation about the service that modified it, the location where the original file has
been backed up, and how to turn off the automatic modification mechanism. If /etc/
resolv.conf is modified several times, the file includes modifications in a nested
form. These can be reverted in a clean way even if this reversal takes place in an order
different from the order in which modifications were introduced. Services that may
need this flexibility include isdn, pcmcia, and hotplug.
If a service was not terminated in a normal, clean way, modify_resolvconf can
be used to restore the original file. Also, on system boot, a check is performed to see
whether there is an uncleaned, modified resolv.conf, for example, after a system
crash, in which case the original (unmodified) resolv.conf is restored.
Basic Networking
585

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10

Table of Contents