[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[plamo:18429] Re: TCPWrapperでnamedの制御
-
From:naomijj
-
Date:Sun, 20 Apr 2003 18:07:55 +0900 (JST)
- Subject: [plamo:18429] Re: TCPWrapperでnamedの制御
- From: naomijj@xxxxxxxxxxx
- Date: Sun, 20 Apr 2003 18:07:52 +0900
現状のDNSサーバー、セカンダリの設定。
●nemed.confの内容
options {
directory "/var/named";
};
zone "." {
type hint;
file "named.root";
};
zone "****.**.jp" {
type slave;
masters { **.**.**.03; };
file "****.**.jp.db.bak";
};
zone "**.**.**.in-addr.arpa" {
type slave;
masters { **.**.**.03; };
file "**.**.**.in-addr.arpa.db.bak";
};
//zone "localhost" IN {
// type master;
// file "localhost.zone";
// allow-update {none; };
//};
zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "0.0.127.in-addr.arpa.db";
};
●0.0.127.in-addr.arpa.dbの内容
@ IN SOA host4.****.**.jp. root.host4.****.**.jp. (
2003041910 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttl
)
IN NS host3.****.**.jp.
IN NS host4.****.**.jp.
0 IN PTR localnetwork.
1 IN PTR localhost.
●hosts.allowの内容
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided by
# the '/usr/sbin/tcpd' server.
#
# Version: @(#)/etc/hosts.allow 1.00 05/28/93
#
# Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org
#
#
ALL : ALL
# End of hosts.allow.
●ps -axの内容
PID TTY STAT TIME COMMAND
1 ? S 0:02 init
2 ? SW 0:00 [keventd]
3 ? SWN 0:00 [ksoftirqd_CPU0]
4 ? SW 0:00 [kswapd]
5 ? SW 0:00 [bdflush]
6 ? SW 0:00 [kupdated]
7 ? SW 0:00 [kjournald]
19 ? SW 0:00 [kjournald]
20 ? SW 0:00 [kjournald]
21 ? SW 0:00 [kjournald]
53 ? S 0:00 /usr/sbin/syslogd
56 ? S 0:01 /usr/sbin/klogd
58 ? S 0:00 /usr/sbin/inetd
60 ? S 0:00 /usr/sbin/sshd
63 ? S 0:00 /usr/local/sbin/named
65 ? S 0:00 /usr/sbin/crond -l10
70 ? S 0:00 /usr/sbin/atd
71 tty1 S 0:00 /sbin/agetty 38400 tty1 linux
72 tty2 S 0:00 /sbin/agetty 38400 tty2 linux
73 tty3 S 0:00 /sbin/agetty 38400 tty3 linux
74 tty4 S 0:00 /sbin/agetty 38400 tty4 linux
75 tty5 S 0:00 /sbin/agetty 38400 tty5 linux
76 tty6 S 0:00 /sbin/agetty 38400 tty6 linux
99 ? S 0:00 /usr/sbin/sshd
101 ? S 0:00 /usr/sbin/sshd
102 pts/0 S 0:00 -bash
131 pts/0 S 0:00 bash
136 pts/0 R 0:00 ps -ax
- References
-
- [plamo:18425] Re: TCPWrapperでnamedの制御, Shun-ichi TAHARA (田原 俊一)
[検索ページ]
[メール一覧]
Plamo ML 公開システム