8.

, , named.

8.1. /etc/rc.local

(hostname) /etc/rc.local hostname(1). named /etc/rc.local :


   if [ -f /usr/sbin/named ]; then
    /usr/sbin/named [options] & echo -n 'named' >/dev/console
   fi

, syslogd. named inetd. .

8.2. /var/run/named.pid

named , (process id) /var/run/named.pid. , named. PIDFILE named.

8.3. /etc/hosts

gethostbyname() , named. , named , /etc/hosts. , ifconfig(8C) (single user mode). /etc/hosts , rcp . /etc/hosts . hosts(5). /etc/hosts, , .

8.4.

, named .

8.4.1.

SIGHUP - named named.boot . , "" named . "" BIND FORCED_RELOAD, SIGHUP "" , . , SOA .

8.4.2.

named , /var/log/messages syslog. , . "-d", named . named, syslog.

SIGINT - /var/tmp/named_dump.db. , . DUMPFILE named.

: named DEBUG.

SIGUSR1 - . SIGUSR1 . /var/tmp/named.run DEBUGFILE named.

SIGUSR2 - .

, DEBUG /lib/libc.a.

SIGWINCH - named QRYLOG. syslog, , .

-q. , dnsstats stats contrib.

SIGIOT - /var/tmp/named.stats, STATS. .


A.S.Plotnikov, 1998