linux DNS服务

DNS服务器的安装和配置

首先在终端输入命令#vi  /etc/apt/sources.list

    

输入更新源

# kali repos installed by TARDIS

deb http://http.kali.org/kali kali main non-free contrib

deb-src http://http.kali.org/kali kali main non-free contrib

#阿里云kali

# Source repositories

deb-src http://http.kali.org/kali sana main non-free contrib

deb-src http://security.kali.org/kali-security sana/updates main contrib non-free

 

#regular repositories

deb http://http.kali.org/kali sana main non-free contrib

deb http://security.kali.org/kali-security sana/updates main contrib non-free

先执行更新软件包列表的命令

执行清理:#apt-get clean

更新:#apt-get update

更新系统:#apt-get upgrade

命令#apt-get install bind9 安装通用版

安装过程全部选择y

输入命令:#/etc/init.d/bind9 status

 输入命令:# cd /etc/bind 查看目录文件

posted on 2016-04-18 10:53  ZQ园林  阅读(230)  评论(0编辑  收藏  举报