免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
1234
最近访问板块 发新帖
楼主: wanjinjack
打印 上一主题 下一主题

linux 8.0 DNS 配置问题 [复制链接]

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2015-11-22 06:20:00
31 [报告]
发表于 2004-02-20 15:58 |只看该作者

linux 8.0 DNS 配置问题

俺的系统不会有问题吧!!!

是不是需要升级dns呢/

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2015-11-22 06:20:00
32 [报告]
发表于 2004-02-24 09:24 |只看该作者

linux 8.0 DNS 配置问题

俺,真是晕了,,,,,
配置个dns服务费了这么长时间,到现在还不行,,,,,,,,

系统重装完后还是不行呀,,,,请各位大虾指点呀,,,,,,,,,,,,,,



    

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2015-11-22 06:20:00
33 [报告]
发表于 2004-02-24 09:25 |只看该作者

linux 8.0 DNS 配置问题

请各位高手帮忙顶一下,,,,,实在没辙了,,,,,,,


不知道到底哪儿出错了,,,,,,

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2015-11-22 06:20:00
34 [报告]
发表于 2004-02-24 09:39 |只看该作者

linux 8.0 DNS 配置问题

[root@linux19 etc]# nslookup 192.168.1.19
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server:         192.168.1.1
Address:        192.168.1.1#53

** server can't find 19.1.168.192.in-addr.arpa: NXDOMAIN

[root@linux19 etc]# nslookup thj.mycompany.com
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server:         192.168.1.19
Address:        192.168.1.19#53

** server can't find thj.mycompany.com: SERVFAIL

[root@linux19 etc]# cat 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; };
#};
zone "." IN {
        type hint;
        file "named.ca";
};

zone    "mycompany.com" IN      {
        type master;
        file "name2ip.conf";
        allow-update { none; };
};

zone "1.168.192.in-addr.arpa" IN {
        type master;
        file "ip2name.conf";
        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; };
};

include "/etc/rndc.key";
[root@linux19 etc]# cat /var/named/named2ip.conf
cat: /var/named/named2ip.conf: 没有那个文件或目录
[root@linux19 etc]# cat /var/named/name2ip.conf
$TTL    86400
$ORIGIN thj.mycompany.com.
@       IN      SOA     thj.mycompany.com.root.thj.mycompayn.com. (
        2000062900 ;serial
        28800 ;refresh
        14400 ;retry
        3600000 ;expire
        86400 );minuum

IN      NS      thj.mycompany.com.
IN      MX      10      thj.mycompany.com.
localhost       IN      A       127.0.0.1
thj     IN      A       192.168.1.19
www     CNAME   thj
mail    CNAME   thj
[root@linux19 etc]# cat /var/named/ip2name.conf
$TTL    86400
@       IN      SOA     thj.mycompany.com.root.thj.mycompany.com. (
        2000062900 ;serial
        28800 ;refresh
        14400 ;retry
        3600000 ;expire
        86400 );minuum

IN      NS      thj.mycompany.com.
IN      MX      10      thj.mycompany.com.
19      IN      PTR     thj.mycompany.com.
[root@linux19 etc]#
[root@linux19 etc]# cat hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       linux19 localhost.localdomain   localhost
192.168.1.19    thj.mycompany.com thj
[root@linux19 etc]# cat hosts.conf
order hosts,bind
multi on
[root@linux19 etc]# cat resolv.conf
nameserver 192.168.1.1
nameserver 192.168.1.19
search mycompany.com
nameserver 202.99.192.68
[root@linux19 etc]#

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2015-11-22 06:20:00
35 [报告]
发表于 2004-02-25 08:45 |只看该作者

linux 8.0 DNS 配置问题

请高手们指点呀,,,,,,,,,,,,,,,
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP