DNS bind 问题

weixin_38055888 2011-11-20 07:22:56

https://yourwebhoster.eu/knowled ... ur-DNS-cluster.html

我用的是UBUNTU系统, ISP服务已经提供了DNS服务器,他告诉我可以这样设置DNS解析,修改/etc/bind/named.conf.options
但是我怎么添加自己的DNS解析记录, 把网站的DNS解析到自己网站IP还是解析到ISP提供的DNS服务器上呢

/etc/bind/named.conf.optionsoptions {
        directory "/var/cache/bind";

        // If there is a firewall between you and nameservers you want
        // to talk to, you may need to fix the firewall to allow multiple
        // ports to talk.  See http://www.kb.cert.org/vuls/id/800113

        // If your ISP provided one or more IP addresses for stable
        // nameservers, you probably want to use them as forwarders.
        // Uncomment the following block, and insert the addresses replacing
        // the all-0's placeholder.

         forwarders {
                46.249.37.254;
         };

        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };

        allow-transfer {46.249.37.254;};
        notify yes;
        also-notify {46.249.37.254;};
        allow-recursion { 127.0.0.1; };
复制代码
...全文
27 1 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复

474

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧