HP Visualize J210XC IRIX to HP-UX Migration Guide - Page 81

Starting the Name Server Daemon

Page 81 highlights

Domain Name Service • nameserver: Followed by the Internet address (in dot notation) of a name server the resolver should query. You can configure up to three nameserver entries. The following is an example of /etc/resolv.conf: search cs.Berkeley.Edu Berkeley.Edu nameserver 132.22.0.4 nameserver 132.22.0.12 2. If you did not specify the local domain with the search or domain option, set the default domain name with the hostname command, as in the following example: # /usr/bin/hostname indigo.div.inc.com Set the HOSTNAME variable in the /etc/rc.config.d/netconf file to the same value, as in the following example: HOSTNAME=indigo.div.inc.com Do not put a trailing dot at the end of the domain name. NOTE: If you want to run both BIND and HP VUE, you must have an /etc/resolv.conf file on your system or HP VUE will not start. On HP-UX releases before 10.0, by default, if the resolver could not find the requested host by appending the local domain, it would append the parent of the local domain and the grandparent of the local domain; it would not append just the top-level domain (like com or edu). For example, if BIND could not find host name aardvark in the local domain zoo.bio.nmt.edu, it would look for aardvark.bio.nmt.edu and aardvark.nmt.edu but not aardvark.edu. On HP-UX 10.0 and later releases, by default, if you do not specify a search list in /etc/resolv.conf, the resolver will append only the local domain to the input host name. If you want BIND to behave as it did in releases before 10.0, configure a search list in the /etc/resolv.conf file. The following search list causes BIND to search the zoo.bio.nmt.edu domain as it did by default in releases before 10.0: search zoo.bio.nmt.edu bio.nmt.edu nmt.edu Starting the Name Server Daemon Before you start the name server daemon, make sure syslogd is running. Follow these steps to start the name server daemon: 1. In the /etc/rc.config.d/namesvrs file, set the NAMED environment variable to 1, as follows: NAMED=1 2. Issue the following command to determine whether named is already running: # ps -ef | grep named If named is not running, issue the following command to start it: # /sbin/init.d/named start 76

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125

Domain Name Service
76
nameserver:
Followed by the Internet address (in dot notation) of a name server the resolver
should query.
You can configure up to three nameserver entries. The following is an example of
/etc/resolv.conf
:
search cs.Berkeley.Edu Berkeley.Edu
nameserver 132.22.0.4
nameserver 132.22.0.12
2.
If you did not specify the local domain with the
search
or
domain
option, set the default domain name
with the
hostname
command, as in the following example:
# /usr/bin/hostname indigo.div.inc.com
Set the
HOSTNAME
variable in the
/etc/rc.config.d/netconf
file to the same value, as in the
following example:
HOSTNAME=indigo.div.inc.com
Do not put a trailing dot at the end of the domain name.
NOTE: If you want to run both BIND and
HP VUE
, you must have an
/etc/resolv.conf
file on your system
or
HP VUE
will not start.
On HP-UX releases before 10.0, by default, if the resolver could not find the requested host by appending
the local domain, it would append the parent of the local domain and the grandparent of the local domain; it
would not append just the top-level domain (like
com
or
edu
). For example, if BIND could not find host
name
aardvark
in the local domain
zoo.bio.nmt.edu
, it would look for
aardvark.bio.nmt.edu
and
aardvark.nmt.edu
but not
aardvark.edu
. On HP-UX 10.0 and later releases, by default, if you do not
specify a search list in
/etc/resolv.conf
, the resolver will append only the local domain to the input host
name.
If you want BIND to behave as it did in releases before 10.0, configure a search list in the
/etc/resolv.conf
file. The following search list causes BIND
to search the
zoo.bio.nmt.edu
domain as it did by default in
releases before 10.0:
search zoo.bio.nmt.edu bio.nmt.edu nmt.edu
Starting the Name Server Daemon
Before you start the name server daemon, make sure
syslogd
is running. Follow these steps to start the
name server daemon:
1.
In the
/etc/rc.config.d/namesvrs
file, set the
NAMED
environment variable to
1
, as follows:
NAMED=1
2.
Issue the following command to determine whether
named
is already running:
# ps -ef | grep named
If
named
is not running, issue the following command to start it:
# /sbin/init.d/named start