源码安装bind,需要自己创建配置文件和系统用户。./configure--prefix=/app/bind--withoutopenssl第四步:编译安装Make-j4&&makeinstall第五步:安装成功之后定义环境变量。vim/etc/profile.d/named.shexportPATH=/app/bind/bin:/app/bind/sbin/:$PATH第六步:准备配置文件name.conf,options是必须要写的,准备两个域,根域可以上网和test域测试。/app/bind/etc