Linux6安装bind错误,CentOS 7.6环境下Bind 9的安装与配置

查看当前系统版本[root@iZj6cehstgjoj3qav88fidZ ~]# cat /etc/redhat-releaseCentOS Linux release 7.6.1810 (Core)[root@iZj6cehstgjoj3qav88fidZ ~]#查看bind软件包信息[root@iZj6cehstgjoj3qav88fidZ ~]# yum info bindLoaded p...
摘要由CSDN通过智能技术生成

查看当前系统版本

[root@iZj6cehstgjoj3qav88fidZ ~]# cat /etc/redhat-release

CentOS Linux release 7.6.1810 (Core)

[root@iZj6cehstgjoj3qav88fidZ ~]#

查看bind软件包信息

[root@iZj6cehstgjoj3qav88fidZ ~]# yum info bind

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

Available Packages

Name : bind

Arch : x86_64

Epoch : 32

Version : 9.9.4

Release : 73.el7_6

Size : 1.8 M

Repo : updates/7/x86_64

Summary : The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) server

URL : http://www.isc.org/products/BIND/

License : ISC

Description : BIND (Berkeley Internet Name Domain) is an implementation of the DNS

: (Domain Name System) protocols. BIND includes a DNS server (named),

: which resolves host names to IP addresses; a resolver library

: (routines for applications to use when interfacing with DNS); and

: tools for verifying that the DNS server is operating properly.

[root@iZj6cehstgjoj3qav88fidZ ~]#

使用yum安装bind及依赖包

[root@iZj6cehstgjoj3qav88fidZ ~]# yum install bind

安装清单

Installed:

bind.x86_64 32:9.9.4-73.el7_6

Dependency Installed:

audit-libs-python.x86_64 0:2.8.4-4.el7 bind-libs.x86_64 32:9.9.4-73.el7_6 checkpolicy.x86_64 0:2.5-8.el7 libcgroup.x86_64 0:0.41-20.el7 libsemanage-python.x86_64 0:2.5-14.el7

policycoreutils-python.x86_64 0:2.5-29.el7_6.1 python-IPy.noarch 0:0.75-6.el7 python-ply.noarch 0:3.4-11.el7 setools-libs.x86_64 0:3.3.8-4.el7

注册服务及启动服务

[root@iZj6cehstgjoj3qav88fidZ ~]# systemctl enable named

Created symlink from /etc/systemd/system/multi-user.target.wants/named.service to /usr/lib/systemd/system/named.service.

[root@iZj6cehstgjoj3qav88fidZ ~]# systemctl start named

[root@iZj6cehstgjoj3qav88fidZ ~]#

查看端口监听

06605b7de94722a72306bf8f559bca57.png

查看主配置文件

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值