Linux安全网 - Linux操作系统_Linux 命令_Linux教程_Linux黑客

会员投稿 投稿指南 本期推荐: 强烈推荐:Ylmf OS 3.0 正式版发布附迅雷高 XP系统下硬盘安装Fedora 14图文教程
搜索:
您的位置: Linux安全网 > Linux入门 > » 正文

Red Hat Linux 5.4 DDNS(DHCP+DNS)详细配置过程

来源: [标签:出处] 分享至:

 

Red Hat Linux 5.4 DDNS(DHCP+DNS)详细配置过程

 

挂载ISO

650) this.width=650;\" alt=\"\" src=\"/uploads/allimg/110725/19151149C-0.jpg\" border=\"0\" />

安装DNS软件,注意此版本必须在9.0以上才可以

 

650) this.width=650;\" alt=\"\" src=\"/uploads/allimg/110725/1915112532-1.jpg\" border=\"0\" />

安装DHCP软件,注意此版本必须在3.0以上才可以

 

650) this.width=650;\" alt=\"\" src=\"/uploads/allimg/110725/191511H52-2.jpg\" border=\"0\" />

查看配置文件,提示参考文件的路径

 

650) this.width=650;\" alt=\"\" src=\"/uploads/allimg/110725/1915114D4-3.jpg\" border=\"0\" />

复制参考文件

cp /usr/share/doc/dhcp-3.0.5/dhcpd.conf.sample /etc/dhcpd.conf

 

过滤文件

cat /etc/dhcpd.conf | grep -v "#" | grep -v "^$" > /root/123.txt

 

覆盖文件

 

650) this.width=650;\" alt=\"\" src=\"/uploads/allimg/110725/191511Kb-4.jpg\" border=\"0\" />

编辑配置文件

 

650) this.width=650;\" alt=\"\" src=\"/uploads/allimg/110725/191511L25-5.jpg\" border=\"0\" />

参数如下

650) this.width=650;\" alt=\"\" src=\"/uploads/allimg/110725/191511J38-6.jpg\" border=\"0\" />

启动服务

 

650) this.width=650;\" alt=\"\" src=\"/uploads/allimg/110725/19151144Y-7.jpg\" border=\"0\" />

进入DNS配置文件目录

 

650) this.width=650;\" alt=\"\" src=\"/uploads/allimg/110725/1915113514-8.jpg\" border=\"0\" />

复制参考文件,注意加上-p选项

cp -p named.caching-nameserver.conf named.conf

 

过滤文件

cat named.conf | grep -v "//" | grep -v "^$" > /root/456.txt

 

覆盖文件

 

650) this.width=650;\" alt=\"\" src=\"/uploads/allimg/110725/1915115626-9.jpg\" border=\"0\" />

编辑配置文件

 

650) this.width=650;\" alt=\"\" src=\"/uploads/allimg/110725/1915115Y4-10.jpg\" border=\"0\" />

注释掉一下内容,使用“//

 

650) this.width=650;\" alt=\"\" src=\"/uploads/allimg/110725/1915113456-11.jpg\" border=\"0\" />

添加一个主要区域benet.com

 

zone "benet.com" IN {

        type master;

        file "benet.com.zone";

};

 

效果如下

 

650) this.width=650;\" alt=\"\" src=\"/uploads/allimg/110725/19151164X-12.jpg\" border=\"0\" />

进入区域数据库目录

 

650) this.width=650;\" alt=\"\" src=\"/uploads/allimg/110725/1915113c2-13.jpg\" border=\"0\" />


Tags:
分享至:
最新图文资讯
1 2 3 4 5 6
验证码:点击我更换图片 理智评论文明上网,拒绝恶意谩骂 用户名:
关于我们 - 联系我们 - 广告服务 - 友情链接 - 网站地图 - 版权声明 - 发展历史