从根域到客户机,智能的DNS
DNS
实验网络拓扑图

站在用户的角度思考问题,与客户深入沟通,找到德钦网站设计与德钦网站推广的解决方案,凭借多年的经验,让设计与互联网技术结合,创造个性化、用户体验好的作品,建站类型包括:网站制作、成都网站制作、企业官网、英文网站、手机端网站、网站推广、域名注册、网站空间、企业邮箱。业务覆盖德钦地区。
注意事项:
1.首先将所有的ip设置为静态IP。
2.清空防火墙规则
3.执行dig +trace 跟踪经过的DNS服务器时,只能在客服端为CentOS 7上方可执行。
4.每个子域文件建立好后,修改文件权限为640,属主为root,属组为named
一、先设置根域
修改/etc/named.conf 文件中下面这行

在/var/named/目录下建立root.zone文件

二、顶级域COM
修改/etc/named.rfc1912.zone文件;添加一个域文件

在/var/named/目录下建立com.zone文件

三、二级域COM

在/var/named/目录下建立qq.com.zone文件

四、智能DNS

在/var/named/目录下建立智能DNS的域文件,shanghai.zone,beijing.zone;

在客服端测试
北京域解析结果
上海域解析结果
分享文章:从根域到客户机,智能的DNS
新闻来源:
http://wjwzjz.com/article/jdhdhc.html