dns 问题

由 qtal110 在 08-17-2004 10:50 发表:

dns 问题

本人的主机名为 www.love.com ip 为192.168.1.111

系统为RAS3 BIND 为 BIND 9.2.2

etc/resolv.conf 内容 为:nameserver 192.168.1.111

DNS 配置如下:

1、 文件named.conf 内容:

options {

directory "/var/named";

};

zone "." IN {

type hint;

file "named.ca";

};

zone "0.0.127.in-addr.arpa" IN {

type master;

file "named.local";

allow-update { none;};

};

zone "love.com" IN {

type master;

file "db.love.com";

allow-update { none;};

};

zone "1.168.192.in-addr.arpa" IN {

type master;

file "db.192.168.1;

allow-update { none;};

};

2.db.love.com

$TTL 86400

@ IN SOA www.love.com. root. www.love.com. (

1997022700 ; Serial

28800 ; Refresh

14400 ; Retry

3600000 ; Expire

86400 );minimum

IN NS www.love.com.

www.love.com. IN A 192.168.1.111

3.db.192.168.1

$TTL 86400

@ IN SOA www.love.com. root. www.love.com. (

1997022700 ; Serial

28800 ; Refresh

14400 ; Retry

3600000 ; Expire

86400 ) ; Minimum

IN NS www.love.com.

111 IN PTR www.love.com.

配置完后运行

[root@www root]# rndc restart

rndc: 'restart' is not implemented

[root@www root]# service named restart

Stopping named: rndc: connect failed: connection refused

[FAILED]

Starting named: [ OK ]<br

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus