Provides the server function for the Domain Name Protocol.
/usr/sbin/named [ -d DebugLevel ] [ -p PortNumber ] [ -b BootFile ]
The /usr/sbin/named daemon is the server for the Domain Name Protocol (DOMAIN). The named daemon runs on name-server hosts and controls the domain-name resolution function.
Note: The named daemon can be controlled using the System Resource Controller (SRC) or the System Management Interface Tool (SMIT). Use the rc.tcpip file to start the daemon with each system startup.
The named daemon listens for name-server requests generated by resolver routines running on foreign hosts. The daemon listens to the socket defined in the /etc/services file; the entry in the /etc/services file begins with domain. However, this socket assignment can be overridden using the -p flag on the command line.
Note: The /etc/resolv.conf file tells the local kernel and resolver routines to use the DOMAIN protocol. The /etc/resolv.conf file must exist and contain either the local host's address or the loopback address (127.0.0.1), or be empty to use the named daemon on the DOMAIN name server host. If the /etc/resolv.conf file does not exist, the local kernel and resolver routines use the /etc/hosts database. When this occurs, the named daemon does not function properly.
The named daemon is a subsystem controlled by the System Resource Controller (SRC). The named daemon is a member of the tcpip system group. This daemon is disabled by default and can be manipulated by the following SRC commands:
startsrc | Starts a subsystem, group of subsystems, or a subserver. |
stopsrc | Stops a subsystem, group of subsystems, or a subserver. |
refresh | Causes the named daemon to reread the /etc./named.boot file. Depending on the contents of the file, the refresh command may or may not reload the database. |
traceson | Enables tracing of a subsystem, group of subsystems, or a subserver. |
tracesoff | Disables tracing of a subsystem, group of subsystems, or a subserver. |
lssrc | Gets the status of a subsystem, group of subsystems, or a subserver. |
-b BootFile | Specifies an alternate boot file. |
-d DebugLevel | Provides a debugging option. The -d flag causes the named daemon to write debugging information to a file named /var/tmp/named.run. The DebugLevel variable determines the level of messages printed, with valid levels from 1 to 11, where level 11 supplies the most information. |
-p PortNumber | Reassigns the Internet socket where the named daemon listens for DOMAIN requests. If this variable is not specified, the named daemon listens to the socket defined in the /etc/services file; the entry in the /etc/services file begins with domain. |
The following signals have the specified effect when sent to the named daemon process using the kill command:
startsrc -s namedThis command starts the daemon. You can use this command in the rc.tcpip file or on the command line. The -s flag specifies that the subsystem that follows is to be started. The process ID of the named daemon is stored in the /etc/named.pid file upon startup.
stopsrc -s namedThis command stops the daemon. The -s flag specifies that the subsystem that follows is to be stopped.
lssrc -s namedThis command returns the name of the daemon, the process ID of the daemon, and the state of the daemon (active or inactive).
traceson -s namedOR
kill -30 'cat /etc/named.pid'The named daemon turns on debugging in response to either of these commands; each subsequent command increments the debugging level. The debugging information is written to the /var/tmp/named.run file.
tracesoffOR
kill -35 'cat /etc/named.pid'Either of these commands immediately turns off all debugging.
startsrc -s named -a "-d 11"This command writes debugging messages to the /var/tmp/named.run file.
/usr/sbin/named | Contains the named daemon. |
/etc/resolv.conf | Specifies the use of domain name services. |
/etc/rc.tcpip | |
Initializes daemons at each system restart. | |
/etc/named.pid | Stores process IDs. |
/etc/services | |
Defines socket service assignments. | |
/usr/samples/tcpip/named.boot | Contains the sample named.boot file with directions for its use. |
/usr/samples/tcpip/named.data | Contains the sample DOMAIN data file with directions for its use. |
/usr/samples/tcpip/hosts.awk | Contains the sample awk script for converting an /etc/hosts file to an /etc/named.data file. This file also contains directions for its use. |
/usr/samples/tcpip/addrs.awk | Contains the sample awk script for converting an /etc/hosts file to an /etc/named.rev file. This file also contains directions for its use. |
/usr/samples/tcpip/named.dynamic | Contains a dynamic database setup. |
The nslookup command, traceroute command, kill command.
The named.conf file format, DOMAIN Cache file format, DOMAIN Data file format, DOMAIN Reverse Data file format, DOMAIN Local Data file format, resolv.conf file format.
TCP/IP Name Resolution and TCP/IP Daemons in AIX Version 4.3 System Management Guide: Communications and Networks.
Configuring Name Servers and Planning for DOMAIN Name Resolution in AIX Version 4.3 System Management Guide: Communications and Networks.