ubuntu搭建DNS服务器的组建与配置 安装bind9进入 /etc/bind目录修改配置named.conf.local文件配置刚刚新建的文件 db.test.cn添加解析区域配置文件,新
本文记录Ubuntu系统配置DNS服务的方法。
apt-get install bind9
cd /etc/bind
这个128是ip最后一位
例如我的ip是192.168.74.128,所有我这里的是128
启动
systemctl start bind9
2.查看状态
systemctl status bind9
3.停止服务
systemctl stop bind9.service
4.重启服务
systemctl restart bind9.service
5.重新加载配置
systemctl reload bind9.servic
6.服务状态查询
systemctl status bind9.service
exi退出
出现这个问题,是在前面配置文件的时候少打了或者是多打了打错了符号,是配置问题,得好好的去检查
如果启动bind9的时候,输入ip发现发射失败了
可以在etc目录下的resov.conf进行查看
修改2个地方
把127.0.0.53修改为自己的ip
localdomain修改为 public
来源地址:https://blog.csdn.net/weixin_46623572/article/details/127643707
--结束END--
本文标题: Ubuntu搭建DNS服务器的组建与配置
本文链接: https://www.lsjlt.com/news/421965.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-04-29
2024-04-29
2024-04-29
2024-04-18
2024-04-17
2024-04-11
2024-04-08
2024-04-08
2024-04-03
2024-03-15
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0