DNS Configuration and Management Manual (G06.27+, H06.05+, J06.03+)

DNS Configuration on the NonStop Server
HP DNS Configuration and Management Manual529432-003
3-23
Stopping the named Process as a Persistent
Process
Stopping the named Process as a Persistent Process
1. To stop the named process if it is configured as a persistent process
(
autorestart > 0), issue the SCF ABORT command to the NonStop Kernel
subsystem as shown:
For more information about managing persistence, see the
SCF Reference Manual for
the Kernel Subsystem in NTL.
Specifying a TCP/IP Process by Using a
Runtime Option
By default, the named process binds to the TCP/IP process $ztc0. To make the named
process use the TCP/IP process that is specified at runtime, a runtime option (-T) is
provided (the
-T option takes the name of the TCP/IP process that is to be used by
named).
No checking is done by
named for the validity of the process name. If you specify an
invalid TCP/IP process name, the
named process will not start.
If you do not specify the
-T option, named gets bound to $ztc0.
To run
named on the TCP/IP process $ztcp2:
Specifying a Different resolv.conf File
The resolver uses the /etc/resolv.conf file by default.
The new environment variable TCPIP_RESOLVER_NAME must be used for pointing
to the resolv.conf file; this variable can be set either through the OSS shell prompt or
through a call to the
putenv() procedure in the OSS application.
The following pieces of code are examples of resolving the destination host by
querying the name server pointed at by the /etc/dns/resolv.conf file.
->abort process $zzkrn.#named
/etc/dns923> named -T \$ztcp2