免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1968 | 回复: 5
打印 上一主题 下一主题

[DNS] as4中dns配置 问题~请教 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-09-11 12:12 |只看该作者 |倒序浏览
以下是我的几个配置文件~~

named.conf
//
// named.conf for Red Hat caching-nameserver
//

options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
/*
* 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; };
};

zone "." IN {
type hint;
file "named.ca";
};

zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};

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 "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
type master;
file "named.ip6.local";
allow-update { none; };
};

zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
};

zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
};
zone "ydzc.com" IN {
type master;
file "ydzc.com.zone";
allow-update { none; };
};
zone "10.168.192.in-addr.arpa" IN {
type master;
file "192.168.10.rev";
allow-update { none; };
};
include "/etc/rndc.key";



ydzc.com.zone

$TTL 86400
@ IN SOA www.ydzc.com. www.ydzc.com. (
20050810 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS www.ydzc.com.
IN A 192.168.10.250
ftp IN A 192.168.10.250
www IN A 192.168.10.250


192.168.10.rev

$TTL 86400
@ IN SOA ydzc.com. root.ydzc.com. (
20050810 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ydzc.com.

1 IN PTR ydzc.com.


now try ping the www.ydzc.com
can't


what's the wrong ??!! 3Q~~~

论坛徽章:
0
2 [报告]
发表于 2005-09-11 13:32 |只看该作者

as4中dns配置 问题~请教

顶上

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
3 [报告]
发表于 2005-09-12 00:45 |只看该作者

as4中dns配置 问题~请教

what error messages did you encounter?
and, what does the log(s) tell?

论坛徽章:
0
4 [报告]
发表于 2005-09-12 07:56 |只看该作者

as4中dns配置 问题~请教

我也是初学者,我看到你得逆向SOA后面的域名和管理员地址都和主域名的SOA后面不一致。。。。。

论坛徽章:
0
5 [报告]
发表于 2005-09-12 09:38 |只看该作者

as4中dns配置 问题~请教

日志中没有任何错误!请大家帮我看看好吗?!搞这个DNS我已经花了好几天时间了!网上好多文章我都试过了!!!但就是不行!
正反解析都不行!不知道是什么问题!!

论坛徽章:
0
6 [报告]
发表于 2005-09-12 10:01 |只看该作者

as4中dns配置 问题~请教

看看我的文章,包你成功!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP