我配置结束以后,named进程无法启动,
[[root@rh9]/etc/rc.d/init.d/named status
rndc: connect failed: operation canceled
请教出什么问题了!
grub007 回复于:2003-07-10 17:56:02 |
是一个认证的问题 应该可以正常使用 |
海狼 回复于:2003-07-10 18:01:03 |
很不幸,就是named进程起不来,我不知道,请高手指教! |
grub007 回复于:2003-07-10 18:05:49 |
这个认证用于远程配置DNS,其默认值就是failed,如果要使用这个认证,需要产生一个公钥,通过认证后就没有提示信息了; 你可以把/etc/named.conf里的 controls { .net 127.0.0.1 allow { localhost; } keys { rndckey; }; }; 和 include "/etc/rndc.key"; 注释掉就可以了。 |
海狼 回复于:2003-07-10 18:16:42 |
我的配置如下,可是named进程还是不能起来! 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 // #controls { # inet 127.0.0.1 allow { localhost; } keys { rndckey; }; #}; #acl our-outer-nets {192.168.0.90}; zone "." IN { type hint; file "named.ca"; }; zone "localhost" IN { type master; file "localhost.zone"; allow-update { none; }; }; zone "0.0.127.in-addr.arpa" IN { type master; file "named.local"; allow-update { none; }; }; zone "5iah.com" IN { type master; file "db.5iah.com"; allow-update { none; }; }; zone "0.168.192.in-addr.arpa" IN { type master; file "db.192.168.0" allow-update { none; }; }; #include "/etc/rndc.key"; db.5iah.com $TTL 86400 $ORIGIN localhost. @ IN SOA ns.5iah.com. root.localhost. ( 42 ; serial (d. adams) 3H ; refresh 15M ; retry 1W ; expiry 1D ) ; minimum IN NS 5iah.com. ns IN A 192.168.0.90 www IN A 192.168.0.90 db.192.168.0 $TTL 86400 @ IN SOA ns.5iah.com. root.5iah.com. ( 1997022700 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum @ IN NS ns.5iah.com. 10 IN PTR www.5iah.com. 100 IN PTR ns.5iah.com. |
yxcwf 回复于:2003-07-10 18:35:40 |
您好: 我觉得您能将LOG贴上来就最好了。 我这里有O'reilly出的DNS&BIND 4http://210.192.2.213/~wenfeng/dns_bind4.rar,您可以看看。这本书写得很好的。 |
海狼 回复于:2003-07-11 09:27:39 |
哪位高手能解决我的DNS问题,谢谢先! |
bearzhang 回复于:2003-07-11 09:46:00 |
IN NS 5iah.com. 应为: IN NS ns.5iah.com. ns IN A 192.168.0.90 应为: ns IN A 192.168.0.100 在你的/etc/hosts文件内加入: 192.168.0.100 ns.5iah.com |
海狼 回复于:2003-07-12 18:03:08 |
我修改以后还是不能启动named进程! |
chair_ou 回复于:2003-07-12 22:46:07 |
bind-9 查DNS的出错日志,用rndc-confgen生成以下东西加入named.conf //# Use with the following in named.conf, adjusting the allow list as needed: key "rndc-key" { algorithm hmac-md5; secret "Wp/5AFSGADJAQ8OjLcJOuJA-+"; }; controls { inet 127.0.0.1 port 953 allow { 127.0.0.1; } keys { "rndc-key"; }; }; |
red_lander 回复于:2003-07-20 18:31:13 |
不知道你对脚本熟不熟, /etc/init.d/named 此脚本中,在stop参数中,有一段killproc ...,我看了这个脚本,此函数在redhat下事实上目录有错误,所以不能杀死后台进程named (ps -ef | grep named) 所以你得自己截获pid,然后kill -9 pid即可, 这样做就能重新启动你的named了 |
sunyu1983 回复于:2003-07-24 08:29:42 |
我是在局域网中架设DNS.把/etc/resolv.conf中的nameserver 改为我本机固定的ip时,就不能上网了,更不要说能够解析了,请高手帮帮忙 |
fishx 回复于:2003-08-08 22:41:54 |
[quote:1ddddc2b57="red_lander"]不知道你对脚本熟不熟, /etc/init.d/named 此脚本中,在stop参数中,有一段killproc ...,我看了这个脚本,此函数在redhat下事实上目录有错误,所以不能杀死后台进程named (ps -ef | grep named) 所以你得自己?..........[/quote:1ddddc2b57] 说清楚点到底该怎么办啊,老大 |
LEOD 回复于:2004-04-06 10:33:44 |
你不能重起可以先看日志/var/log/message/ 我一般都是进程再start |
开沙 回复于:2005-06-29 09:42:18 |
各位,有没有过从bind9升级到bind9.2.3或更高版本的经验? |
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/