[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[linux-users:70442] Re: [linux-users:70395] Re: WebminでDNS設定方法


どうも、山本です。

いろいろと設定してnamedを起動したのですが、うまいこといきません。
#nslookupでやってみると
*** ns1.skynetweb.com can't find enkai.com: Server failed
となってしまいます。
そこで設定ファイルを記述いたしますのでよろしくお願いいたします。

設定の前に...
---------------------------------------------------
以下の情報を登録することにいたします。
また、下記ドメインはNICに登録済みと仮定します。
Domain Name:enkai.com
IP Address:64.23.0.45
DNS Server(1):ns1.skynetweb.com(208.231.1.34)
DNS Server(2):ns2.skynetweb.com(208.231.1.35)
---------------------------------------------------
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;
};

//
// a caching only nameserver config
//
zone "." {
 type hint;
 //file "named.ca";
 file "named.root";
};

zone "localhost" {
 type master;
 file "localhost.zone";
};

zone "0.0.127.in-addr.arpa" {
 type master;
 //file "named.local";
 file "localhost.rev";
};

zone "enkai.com" {
        type master;
        file "enkai.com.zone";
};

zone "0.23.64.in-addr.arpa" {
        type master;
        file "enkai.com.rev";
};
---------------------------------------------------
resolv.conf
---------------------------------------------------
domain enkai.com
search enkai.com
nameserver 208.231.1.34
---------------------------------------------------
localhost.zone
---------------------------------------------------
; $ORIGIN localhost.
@       IN      SOA     enkai.enkai.com.    root.enkai.com. (
                              1997022700 ; Serial
                              28800      ; Refresh
                              14400      ; Retry
                              3600000    ; Expire
                              86400 )    ; Minimum

IN      NS      localhost.
IN      A       127.0.0.1
---------------------------------------------------
localhost.rev
---------------------------------------------------
; $ORIGIN 0.0.127.in-addr.arpa.
@       IN      SOA     enkai.enkai.com.    root.enkai.com. (
                              1997022700 ; Serial
                              28800      ; Refresh
                              14400      ; Retry
                              3600000    ; Expire
                              86400 )    ; Minimum

        IN      NS      localhost.

;0      IN      PTR     loopback.
1       IN      PTR     localhost.
---------------------------------------------------
enkai.com.zone
---------------------------------------------------
; $ORIGIN enkai.enkai.com.
@       IN      SOA     enkai.enkai.com.    root.enkai.com. (
                              1997022700 ; Serial
                              28800      ; Refresh
                              14400      ; Retry
                              3600000    ; Expire
                              86400 )    ; Minimum

; nameservers
;       IN      NS      enkai.enkai.com.
        IN      NS      ns1.skynetweb.com.
        IN      NS      ns2.skynetweb.com.
; mailservers
;       IN      MX 10   enkai.enkai.com.
; addresses
enkai   IN      A       45.0.23.64
        IN      MX 10   enkai.enkai.com.
; aliases
www     IN      CNAME   enkai
;mail    IN      CNAME   donald
;po      IN      CNAME   donald
;smtp    IN      CNAME   donald

;virtual host
;nehoren IN      CNAME   donald
---------------------------------------------------
enkai.com.rev
---------------------------------------------------
; $ORIGIN 0.23.64.in-addr.arpa.
@       IN      SOA     enkai.enkai.com.    root.enkai.com. (
                              1997022700 ; Serial
                              28800      ; Refresh
                              14400      ; Retry
                              3600000    ; Expire
                              86400 )    ; Minimum
; nameservers
;       IN      NS      enkai.enkai.com.
        IN      NS      ns1.skynetweb.com.
        IN      NS      ns2.skynetweb.com.
; addresses
45      IN      PTR     enkai.enkai.com.
---------------------------------------------------

    【山本 明信/ayamamot _at_ mbox2.inet-osaka.or.jp】

この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
Follow-Ups: References: