Bind是一款开放源码的DNS服务器软件,由美国加州大学Berkeley分校开发和维护的,全名为Berkeley Internet Name Domain它是目前世界上使用最为广泛的DNS服务器软件,支持各种unix平台和windows平台。

1、检查是否已安装bind

# dpkg -l |grep bind

2、安装bind9

# apt-get install bind9

再次检查,现在已经安装成功了。

root@nfsserver:~# dpkg -l |grep bind
ii  bind9                            1:9.8.1.dfsg.P1-4ubuntu0.10       Internet Domain Name Server

DNS配置文件在/etc/bind目录中,查看bind安装目录

root@nfsserver:/etc/bind# ls -l
total 52
-rw-r--r-- 1 root root 2389 Feb 18 21:45 bind.keys
-rw-r--r-- 1 root root  237 Feb 18 21:45 db.0
-rw-r--r-- 1 root root  271 Feb 18 21:45 db.127
-rw-r--r-- 1 root root  237 Feb 18 21:45 db.255
-rw-r--r-- 1 root root  353 Feb 18 21:45 db.empty
-rw-r--r-- 1 root root  270 Feb 18 21:45 db.local
-rw-r--r-- 1 root root 2994 Feb 18 21:45 db.root
-rw-r--r-- 1 root bind  463 Feb 18 21:45 named.conf
-rw-r--r-- 1 root bind  490 Feb 18 21:45 named.conf.default-zones
-rw-r--r-- 1 root bind  165 Feb 18 21:45 named.conf.local
-rw-r--r-- 1 root bind  890 Mar 20 14:37 named.conf.options
-rw-r----- 1 bind bind   77 Mar 20 14:37 rndc.key
-rw-r--r-- 1 root root 1317 Feb 18 21:45 zones.rfc1918
View Code

相关文章:

  • 2022-01-23
  • 2021-12-05
  • 2021-12-15
猜你喜欢
  • 2021-07-01
  • 2021-04-28
  • 2022-12-23
  • 2021-07-25
  • 2021-09-29
  • 2021-06-26
相关资源
相似解决方案