- æ¥æï¼ 2007/03/14 07:27
- ååï¼ 石橋
- ①不明点・障害内容
PC環境 192.168.1.1 [ルーター] 192.168.1.11[Server Linux] 192.168.1.12[Client Windows]
Server PCにBINDをインストールし外向と内向の名前解決を行ないたいのですが正常に 正引き・逆引きができずに困っております。
Server PCからコマンド( dig ****.net )で自身のドメイン名を引くと下記の表示に成ってしまいます。
; <<>> DiG 9.3.4 <<>> ****.net ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 25943 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION: ;****.net. IN A
;; Query time: 112 msec ;; SERVER: 192.168.1.1#53(192.168.1.1) ;; WHEN: Wed Mar 14 06:11:34 2007 ;; MSG SIZE rcvd: 29
いろいろ試してはみたのですがどうにも上手くいかないのでゾーンファイルの設定でご助言戴ければ幸いです.
②ログの有無:(有:BIND起動時) Mar 14 07:01:43 server named[7734]: starting BIND 9.3.4 -u named -t /var/named/chroot Mar 14 07:01:43 server named[7734]: found 1 CPU, using 1 worker thread Mar 14 07:01:43 server named[7734]: loading configuration from '/etc/named.conf' Mar 14 07:01:43 server named[7734]: listening on IPv4 interface lo, 127.0.0.1#53 Mar 14 07:01:43 server named[7734]: listening on IPv4 interface eth0, 192.168.1.11#53 Mar 14 07:01:43 server named[7734]: command channel listening on 127.0.0.1#953 Mar 14 07:01:43 server named[7734]: zone 0.in-addr.arpa/IN: loaded serial 42 Mar 14 07:01:43 server named[7734]: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700 Mar 14 07:01:43 server named[7734]: zone 255.in-addr.arpa/IN: loaded serial 42 Mar 14 07:01:43 server named[7734]: zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 1997022700 Mar 14 07:01:43 server named[7734]: zone localdomain/IN: loaded serial 42 Mar 14 07:01:43 server named[7734]: zone localhost/IN: loaded serial 42 Mar 14 07:01:43 server named[7734]: running
③OS:Fedora Core 5 ④Service Name:BIND Ver.9.3.4
[named.caching-nameserver.conf] /var/named/chroot/etc/ // // named.caching-nameserver.conf // // Provided by Red Hat bind-config package to configure the // ISC BIND named(8) DNS server as a caching only nameserver // (as a localhost DNS resolver only). // // See /usr/share/doc/bind*/sample/ for example named configuration files. // // DO NOT EDIT THIS FILE - use system-config-bind or an editor // to create named.conf - edits to this file will be lost on // bind-config package upgrade. // 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"; query-source port 53; query-source-v6 port 53; allow-query { localhost; localnets; }; forwarders{ 192.168.1.1;←[ルータIP] }; }; logging { channel default_debug { file "data/named.run"; severity dynamic; }; }; view localhost_resolver { match-clients { localhost; }; match-destinations { localhost; }; recursion yes; include "/etc/named.rfc1912.zones"; include "/etc/named.****.net.zone"; }; view "internal" { match-clients { localnets; }; match-destinations { localnets; }; recursion yes; include "/etc/named.root.hints"; include "/etc/named.****.net.zone"; }; view "external" { match-clients { any; }; match-destinations { any; }; recursion no;
[named.****.net.zone]/var/named/chroot/etc/named.****.net.zone zone "****.net" { type master; file "****.net.db"; }; zone "1.168.192.in-addr.arpa" { type master; file "1.168.192.in-addr.arpa.db"; };
[named.3734649.net.zone.wan]/var/named/chroot/etc/named.3734649.net.zone.wan zone "****.net" { type master; file "****.net.db.wan"; allow-query { any; }; allow-transfer { ****.***.***.*; }; ←セカンダリネームサーバー notify yes; };
[****.net.db.wan]/var/named/chroot/var/named/****.net.db.wan $TTL 86400 @ IN SOA ns.****.net. root.****.net.( 2007031106 ; Serial 7200 ; Refresh 7200 ; Retry 2419200 ; Expire 86400 ) ; Minimum IN NS ns.****.net. IN NS ns.****.net. ←セカンダリネームサーバー IN MX 10 ****.net. ns1 IN A ***.***.**.** グローバルIP @ IN A ***.***.**.** グローバルIP www IN A ***.***.**.** グローバルIP ftp IN A ***.***.**.** グローバルIP mail IN A ***.***.**.** グローバルIP ****.net. IN TXT "v=spf1 a mx ~all"
長文となりましたが、どうかよろしくお願いいたします。
|