- 日時: 2005/08/03 10:22
- 名前: とくっち
- はじめましてFD2をはじめて1週間のとくっちといいます。
今DNSサーバーの設置で動作確認が取れずに困っています。 私の環境ですが、
ルーター(192.168.1.1) ①192.168.1.20(PC) ②192.168.1.21(PC) ③ハブ①192.168.1.100(プリンター) ②192.168.1.2(FD2) ④192.168.1.101(プリンター)
となっています。 次にドメインはZONE.tk.toということこからxxxxxx.tk.toを取得済み
BIND設定ですが
[root@fedora root]# vi /etc/named.conf // generated by named-bootconf.pl
options { directory "/var/named"; /* * If there is a firewall between you and nameservers you want * to talk to, you might need to uncomment the query-source * directive below. Previous versions of BIND always asked * questions using port 53, but BIND 8.1 uses an unprivileged * port by default. */ // query-source address * port 53; allow-query{ 127.0.0.1; 192.168.1.0/24; }; allow-transfer{ 127.0.0.1; 192.168.1.0/24; }; forwarders{ xxx.xxx.xxx.xxx; xxx.xxx.xxx.xxx; // ここにはルーターに設定したIPを記入 }; };
// // a caching only nameserver config // controls { inet 127.0.0.1 allow { localhost; } keys { rndckey; }; }; zone "." IN { type hint; file "named.ca"; };
zone "localhost" IN { type master; file "localhost.zone"; allow-update { none; }; };
zone "0.0.127.in-addr.arpa" IN { type master; file "named.local"; allow-update { none; }; };
include "/etc/rndc.key"; zone "xxxxxxx.tk.to" IN { type master; file "xxxxxxx.tk.to.db"; allow-update { none; }; }; zone "1.168.192.in-addr.arpa" IN { type master; file "1.168.192.in-addr.arpa.db"; allow-update { none; }; };
としました。
正引きゾーンデータベース(kaju.homeip.net.db)の作成 [root@fedora root]# vi /var/named/kaju.homeip.net.db $TTL 86400 @ IN SOA xxxxxxx.tk.to. root.xxxxxxx.tk.to.( 2004092500 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum IN NS linux.xxxxxx.tk.to. IN MX 10 linux fedora IN A 192.168.1.2 client IN A 192.168.1.20 www IN CNAME linux
[root@fedora root]# vi /var/named/1.168.192.in-addr.arpa.db $TTL 86400 @ IN SOA linux.xxxxxx.tk.to. root.xxxxxx.tk.to.( 2004092500 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum IN NS linux.xxxxxx.tk.to. 5 IN PTR linux.xxxxxx.tk.to. 10 IN PTR client.xxxxxx.tk.to.
としました。 それ以外の ホストファイルの確認 DNSサーバ指定ファイルの確認 ネームサービススイッチの設定ファイルの確認についてはここのHPとおりに すんでいます。
そこでFD2から# nslookupをしても 正・逆とも;;connection timed out; no servercould be reached となってしまいます。
対処法がわかりますでしょうか? 尚xxxxxxxxの部分には別名が入ります

|