[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:01726] bind-4.9.7-RELの設定について教えて下さい。



はじめまして、Slackware PlamoLinuxの経験の浅い会社員です。
宜しくお願いします。

さて、「PostgreSQL完全ガイド」付属のPlamoLinuxver1.31をお勧めコースでインス
トール後、samba.tkg、bind.tkg(bind-4.9.7)をinstallpkgでインストールしました
。

bindの設定がうまくいきません。

SoftwareDesign(12/1998)のケースをベースにデータベースファイルを作ってみたの
ですが、ネームサーバー機能が動きません。

何を参考にしたら良いでしょうか。
ver8に変更した方が良いでしょうか。
この辺のネットワーク環境設定は普通の人は当初のセットアップでお勧めコースを
選択すればうまくいくんでしょうか。私はsamba.tkg、bind.tkgともインストールさ
れていませんでした。


1.IPアドレス
server1 linux                     192.168.000.2 
client1  win95                    192.196.000.3


2.PING結果
(1)サーバ側から    ping  192.168.000.2  .........ok
                       ping  server1.eijin.co.jp .........ok
                       ping 192.168.0.3 ................ok
                       ping client1.eijin.co.jp  ................x
                       ping  localhost.........ok
                       nslookup   server1.........X
                       dig   server1..........x
                      
server1:~# nslookup server1.eijin.co.jp
*** Can't find server name for address 192.168.0.2: No response from server
*** Can't find server name for address 192.168.0.2: No response from server
*** Can't find server name for address 192.168.0.2: No response from server
*** Default servers are not available

server1:~# dig server1.eijin.co.jp

; <<>> DiG 2.2 <<>> server1.eijin.co.jp 
;; res options: init recurs defnam dnsrch
;; res_send to server default -- 192.168.0.2: Connection refused
server1:~# 
                      
                     


(2)クライアント側から  ping  192.168.000.3  .........ok
                       ping  client1.eijin.co.jp .........ok
                       ping  localhost.........x
                       ping  server1.eijin.co.jp .........x
                       ping  192.168.0.2.....................ok




3.設定ファイル詳細
以下 設定したファイルの内容です。
/etc/namedb/rootがよく分からないのでSAMPLEのコピーです。
------------------------------------------------------------
/etc/named.boot
;
; a caching only nameserver config
;
directory                               /etc/namedb
cache           .                       named.root
primary         0.0.127.IN-ADDR-ARPA     localhost.rev
primary         eijin.co.jp              eijin.hosts
primary         255.168.192.IN-ADDR.ARPA  eijin.hosts.rev
;
;secondary       eijin.co.jp      192.168.255.16 db.eijin
;secondary       255.168.192.in-addr.arpa  192.168.255.16 db.192.168.255

------------------------------------------------------------
/etc/namedb/eijin.hosts
@                IN SOA server1.eijin.co.jp. masaya.eijin.co.jp. (
                                 98050204  ; serial
                                   10800   ; refresh
                                    3600   ; retry
                                  604800   ; expire
                                   86400 )  ; minimum

                 IN  NS   server1.eijin.co.jp.
                 IN  MX 10  server1.eijin.co.jp.


;
;  Name Servers
;
eijin.co.jp.     IN  NS   server1.eijin.co.jp.
;
; Mail Servers
;
eijin.co.jp.     IN  MX 10  server1.eijin.co.jp.
;
; Host Addresses
;
localhost.eijin.co.jp.     IN  A    127.0.0.1
server1.eijin.co.jp.       IN  A    192.168.0.2
                           IN  MX   10
client1.eijin.co.jp.       IN  A    192.168.0.3
;client2.eijin.co.jp.      IN  A    192.168.0.4
;client3.eijin.co.jp.      IN  A    192.168.0.5
NetGenesis4.eijin.co.jp.   IN  A     192.168.0.1
;
;Aliases
;
www.eijin.co.jp.       IN   CNAME    server1.eijin.co.jp.
mail.eijin.co.jp.      IN   CNAME    server1.eijin.co.jp.
smtp.eijin.co.jp.      IN   CNAME    server1.eijin.co.jp.
pop.eijin.co.jp.       IN   CNAME    server1.eijin.co.jp.    
ftp.eijin.co.jp.       IN   CNAME    server1.eijin.co.jp.
nntp.eijin.co.jp.      IN   CNAME    server1.eijin.co.jp.
lpr.eijin.co.jp.       IN   CNAME    server1.eijin.co.jp.
proxy.eijin.co.jp.     IN   CNAME    server1.eijin.co.jp.



------------------------------------------------------------
/etc/namedb/eijin.hosts.rev
@                        IN SOA server1.eijin.co.jp.  masaya.eijin.co.jp.
(
                          98050204  ;  serial
                          10800     ;  refresh
                          3600      ;  retry
                          604800    ;  expire
                          86400 ) ;  minimum
;
; Name Servers
;
255.168.192.in-addr.arpa.    IN   NS   server1.eijin.co.jp.
;
;  Addresses to names
;
2.0.168.192.in-addr.arpa.    IN   PTR  server1.eijin.co.jp.
3.0.168.192.in-addr.arpa.    IN   PTR  client1.eijin.co.jp.
;4.0.168.192.in-addr.arpa.    IN   PTR  client2.eijin.co.jp.
;5.0.168.192.in-addr.arpa.    IN   PTR  client3.eijin.co.jp.
1.0.168.192.in-addr.arpa.    IN   PTR  NetGenesis4.eijin.co.jp.


------------------------------------------------------------
/etc/namedb/localhost.rev
@                     IN SOA server1.eijin.co.jp.  masaya.eijin.co.jp. (
                                      98050204  ;  serial
                                      10800     ; refresh
                                      3600      ; retry
                                      604800    ; expire
                                      86400 )    ; minimum
;
; Name Servers
;
0.0.127.in-addr.apra.       IN      NS    server1.eijin.co.jp.
;
; Addresses to names
;
1.0.0.127.in-addr.apra.     IN      PTR    localhost.

------------------------------------------------------------
/etc/namedb/root
                                 IN  NS    A.ROOT-SERVERS.NET.
                                 IN  NS    B.ROOT-SERVERS.NET.
                                 IN  NS    C.ROOT-SERVERS.NET.
                                 IN  NS    D.ROOT-SERVERS.NET.
                                 IN  NS    E.ROOT-SERVERS.NET.
                                 IN  NS    F.ROOT-SERVERS.NET.
                                 IN  NS    G.ROOT-SERVERS.NET.
                                 IN  NS    H.ROOT-SERVERS.NET.
                                 IN  NS    I.ROOT-SERVERS.NET.
                                 IN  NS    J.ROOT-SERVERS.NET.
                                 IN  NS    K.ROOT-SERVERS.NET.
                                 IN  NS    L.ROOT-SERVERS.NET.
                                 IN  NS    M.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET.      3600000      A     198.41.0.4
...                        3600000      NS    B.ROOT-SERVERS.NET.
B.ROOT-SERVERS.NET.      3600000      A     128.9.0.107
...                        3600000      NS    C.ROOT-SERVERS.NET.
C.ROOT-SERVERS.NET.      3600000      A     192.33.4.12
...                        3600000      NS    D.ROOT-SERVERS.NET.
D.ROOT-SERVERS.NET.      3600000      A     128.8.10.90
...                        3600000      NS    E.ROOT-SERVERS.NET.
E.ROOT-SERVERS.NET.      3600000      A     192.203.230.10
...                        3600000      NS    F.ROOT-SERVERS.NET.
F.ROOT-SERVERS.NET.      3600000      A     192.5.5.241
...                        3600000      NS    G.ROOT-SERVERS.NET.
G.ROOT-SERVERS.NET.      3600000      A     192.112.36.4
...                        3600000      NS    H.ROOT-SERVERS.NET.
H.ROOT-SERVERS.NET.      3600000      A     128.63.2.53
...                        3600000      NS    I.ROOT-SERVERS.NET.
I.ROOT-SERVERS.NET.      3600000      A     192.36.148.17
...                        3600000      NS    J.ROOT-SERVERS.NET.
J.ROOT-SERVERS.NET.      3600000      A     198.41.0.10
...                        3600000      NS    K.ROOT-SERVERS.NET.
K.ROOT-SERVERS.NET.      3600000      A     198.41.0.11
...                        3600000      NS    L.ROOT-SERVERS.NET.
L.ROOT-SERVERS.NET.      3600000      A     198.32.64.12
...                        3600000      NS    M.ROOT-SERVERS.NET.
M.ROOT-SERVERS.NET.      3600000      A     198.32.65.12


------------------------------------------------------------
/etc/resolv.conf
# eth0 begin
domain eijin.co.jp
nameserver 192.168.0.2
# eth0 end
# eth0 begin
domain eijin.co.jp
nameserver 192.168.0.2
# eth0 end
# eth0 begin
domain eijin.co.jp
nameserver 192.168.0.2
# eth0 end




------------------------------------------------------------
/etc/hosts
#
# hosts		This file describes a number of hostname-to-address
#		mappings for the TCP/IP subsystem.  It is mostly
#		used at boot time, when no name servers are running.
#		On small systems, this file can be used instead of a
#		"named" name server.  Just add the names, addresses
#		and any aliases to this file...
#
# By the way, Arnt Gulbrandsen <agulbra@nvg.unit.no> says that 127.0.0.1
# should NEVER be named with the name of the machine.  It causes problems
# for some (stupid) programs, irc and reputedly talk. :^)
#

# For loopbacking.
127.0.0.1	localhost
192.168.0.2	 	server1.eijin.co.jp server1

# End of hosts.


*************************************************************************
◆名前  関 正弥
◆電話番号(FAXNO)0465-84-2964(0465-85-1680) 会社
◆住所 
神奈川県足柄上郡大井町山田300第一生命大井本社内契約業務部営業人事課
*************************************************************************
 

Follow-Ups
[plamo:01729] Re: bind-4.9.7-RELの設定について教えて下さい。, KOJIMA Mitsuhiro
[plamo:01730] Re: bind-4.9.7-RELの設定について教えて下さい。, Hayama Yossihro

[検索ページ] [メール一覧]
Plamo ML 公開システム