[centos-users 1335] bindの設定について(再)
xxx_worker_xxx @ yahoo.co.jp
xxx_worker_xxx @ yahoo.co.jp
2010年 3月 8日 (月) 10:29:34 JST
先週末bindの設定について質問させていただいたものです。
再度質問させていただきます。
CentOS 5.4
Bind 9.3.6-4
起動できるとこまでこぎつけたのですが、まったく名前解決でません。
どこがいけないのかもわからない状況です。
hostは計4つ、"boss","me","server","you"です。
http://www.wxample.comおよびhttp://wxample.comはインターネットヘ
それ以外のホスト名は内部のホストとして名前解決したいです。
どこがいけないのかご指摘いただけないでしょうか?
以下にconfとゾーンファイルを記します。
////////////////////////////////////////named.confここから///
acl localnet {
192.168.24.0/24;
127.0.0.1;
};
options {
listen-on port 53 { 127.0.0.1; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-transfer { localnet; };
allow-query { localnet; };
allow-query-cache { localnet; };
};
controls {
inet 127.0.0.1 allow { localnet; } keys { rndckey; };
};
include "/etc/rndc.key";
logging {
channel default-log {
file "/var/log/named/named.log";
severity info;
print-time yes;
print-category yes;
};
category lame-servers { null; };
category default { default-log; };
};
view "local" {
match-clients { localnet; };
recursion yes;
zone "." {
type hint;
file "named.ca";
};
zone "example.com" {
type master;
file "named.example.local";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "named.0.0.127.in-addr.arpa";
};
zone "24.168.192.in-addr.arpa" {
type master;
file "named.24.168.192.in-addr.arpa";
};
};
view "world" {
match-clients { any; };
allow-query { any; };
recursion no;
zone "example.com" {
type master;
file "named.example";
};
};
////////////////////////////////////////named.confここまで///
////////////////////////////////////////named.example.localここから///
$TTL 86400
@ IN SOA example.com. me.example.com.(
2010030502 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimun
IN NS ns1.example.com.
IN MX 10 mail.example.com.
@ IN A 192.168.24.3
boss IN A 192.168.24.2
me IN A 192.168.24.4
server IN A 192.168.24.5
you IN A 192.168.24.6
////////////////////////////////////////named.example.localここまで///
////////////////////////////////////////named.0.0.127.in-addr.arpaここから///
$TTL 86400
@ IN SOA blapc.com. me.example.com. (
2010030505 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 )
IN NS ns1.blapc.com.
1 IN PTR localhost.
////////////////////////////////////////named.0.0.127.in-addr.arpaここまで///
////////////////////////////////////////named.24.168.192.in-addr.arpaここから///
$TTL 86400
@ IN SOA example.com. me.example.com.(
2010030502 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimun
IN NS ns1.example.com.
1 IN PTR server.example.com.
2 IN PTR boss.example.com.
3 IN PTR me.example.com.
4 IN PTR you.example.com.
////////////////////////////////////////named.24.168.192.in-addr.arpaここまで///
////////////////////////////////////////named.exampleここから///
$TTL 86400
@ IN SOA ns1.example.com. me.example.com. (
2010030505 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns1.example.com.
IN MX 10 s282.xrea.com.
@ IN A 192.168.24.3
////////////////////////////////////////named.exampleここまで///
--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/
centos-users メーリングリストの案内