我的DNS DNS有问题,请求高手帮我,急急急急

由 天剑 在 09-18-2003 21:43 发表:

我的DNS DNS有问题,请求高手帮我,急急急急

我配置了一个DNS,

运行named start 提示我确定

但是我一查看进程,却没有named

我运行named restart

他却提示这样的错

停止 named:rndc: connect failed: connection refused

[失败]

这是什么意思呀!!请大家帮帮我!!

谢谢啦


由 hongfeng 在 09-18-2003 22:26 发表:


你用host ip命令试试你的named是不是有配置成功的。

出现这样的信息好像是named.conf中的参数导致的。我也有过类似的现象现在好了。


比石头更坚硬的是水滴;

比水滴更坚硬的是时间。


由 天剑 在 09-19-2003 08:47 发表:


怎么查呀


由 天剑 在 09-19-2003 09:33 发表:


/etc/named.conf部分内容如下

include "/etc/named.custom";

include "/etc/rndc.key";

options {

directory "/var/named/";

};

zone "." {

type hint;

file "named.ca";

};

zone "0.0.127.in-addr.arpa" {

type master;

file "named.local";

};

zone "iputian.com" {

type slave;

file "db.iputian.com";

masters { 202.99.11.9; };

};

zone "tzcof.com.cn" {

type slave;

file "db.tzcof.com.cn";

masters { 202.99.11.9; };

};

zone "6228082.com" {

type slave;

file "db.6228082.com";

masters { 202.99.11.9; };

};

zone "bjkjgs.com" {

type slave;

file "db.bjkjgs.com";

masters { 202.99.11.9; };

};

zone "bjkjgs.com.cn" {

type slave;

file "db.bjkjgs.com.cn";

masters { 202.99.11.9; };

};

zone "bjkjgs.com" {

type slave;

file "db.bjkjgs.com";

masters { 202.99.11.9; };

};


由 天剑 在 09-19-2003 09:38 发表:


部分日志如下

Sep 19 08:55:08 ns2 named[1142]: loading configuration from '/etc/named.conf'

Sep 19 08:55:08 ns2 9月 19 08:55:08 named: named 启动 succeeded

Sep 19 08:55:09 ns2 named[1142]: /etc/named.custom:12: 'options' redefined near

'options'

Sep 19 08:55:10 ns2 named[1142]: loading configuration: already exists

Sep 19 08:55:10 ns2 named[1142]: exiting (due to fatal error)

Sep 19 09:00:00 ns2 CROND[1150]: (root) CMD ( /sbin/rmmod -as)

Sep 19 09:01:00 ns2 CROND[1152]: (root) CMD (run-parts /etc/cron.hourly)

Sep 19 09:10:00 ns2 CROND[1156]: (root) CMD ( /sbin/rmmod -as)

Sep 19 09:14:39 ns2 kernel: e100: eth0 NIC Link is Down

Sep 19 09:16:07 ns2 kernel: e100: eth0 NIC Link is Up 100 Mbps Full duplex

Sep 19 09:17:40 ns2 sshd[1157]: Accepted password for root from 218.244.249.97 p

ort 1190


由 lanmaster 在 09-19-2003 10:35 发表:


named.conf - configuration for bind

Generated automatically by redhat-config-bind, alchemist et al.

Any changes not supported by redhat-config-bind should be put

in /etc/named.custom

controls {

inet 127.0.0.1 allow { localhost; } keys { rndckey; };

};

include "/etc/named.custom";

include "/etc/rndc.key";

options {

directory "/var/named/";

};

#zone "." {

type hint;

file "named.ca";

#};

zone "0.0.127.in-addr.arpa" {

type master;

file "named.local";

};

####################################

zone "iputian.com" {

type slave;

file "db.ipu

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