免费注册 查看新帖 |

Chinaunix

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

DNS 安装与配置 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-10-11 11:11 |只看该作者 |倒序浏览
[DONE]
1. ubuntu 下dns服务器安装与配置;
2. 使用ping测试:
        $ping maxwit.com
    结果:
        PING maxwit.com (192.168.1.3) 56(84) bytes of data
    结果符合预期要求;

3. 使用nslookup测试:
        $nslookup
        >maxwit.com
    结果:
        > maxwit.com
        Server:        192.168.1.3
        Address:    192.168.1.3#53

        Name:    maxwit.com
        Address: 192.168.1.3
        >
    结果符合预期要求。

[TODO]
1. 添加MX记录。

论坛徽章:
0
2 [报告]
发表于 2013-10-11 11:57 |只看该作者
删除bind配置文件中的named.conf.options中的
forwarders {116.228.111.118;180.168.255.18;};
forward first;
allow-query {any; };
recursion yes;

更改db.maxwit.org

如下:
;
; BIND data file for local loopback interface
;
$TTL    604800
@   IN  SOA maxwit.org. root.maxwit.org. (
                  1     ; Serial
             604800     ; Refresh
              86400     ; Retry
            2419200     ; Expire
             604800 )   ; Negative Cache TTL
;
@   IN  NS  www
@   IN  MX  0   mail.maxwit.org.
@   IN  A   192.168.1.3
www IN  A   192.168.1.3
mail    IN  A   192.168.1.3
;

3 IN  PTR www.maxwit.net.
3 IN  PTR mail.maxwit.net.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP