欢迎来到天天文库
浏览记录
ID:17851627
大小:611.00 KB
页数:24页
时间:2018-09-07
《linux网络应用报告》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、2012年Linux网络应用实训报告姓名:蒋文芳学号:10102212班级:10网络2班课题一DNS主DNS配置1、查看是否安装了DNS软件包[root@localhost~]#rpm-qa
2、grepbindbind-utils-9.3.4-10.P1.el5bind-9.3.4-10.P1.el5bind-libs-9.3.4-10.P1.el5ypbind-1.19-11.el5bind-chroot-9.3.4-10.P1.el5[root@localhost~]#rpm-qa
3、grepcachi
4、ng[root@localhost~]#2、挂载光驱装包[root@localhost~]#cd/mnt/q[root@localhostq]#lsCentOSRELEASE-NOTES-enRELEASE-NOTES-nlEULARELEASE-NOTES-en.htmlRELEASE-NOTES-nl.htmlGPLRELEASE-NOTES-en_USRELEASE-NOTES-pt_BRimagesRELEASE-NOTES-en_US.htmlRELEASE-NOTES-pt_BR.htmli
5、solinuxRELEASE-NOTES-esRELEASE-NOTES-roNOTESRELEASE-NOTES-es.htmlRELEASE-NOTES-ro.htmlRELEASE-NOTES-csRELEASE-NOTES-frrepodataRELEASE-NOTES-cs.htmlRELEASE-NOTES-fr.htmlRPM-GPG-KEY-betaRELEASE-NOTES-deRELEASE-NOTES-jaRPM-GPG-KEY-CentOS-5RELEASE-NOTES-de.h
6、tmlRELEASE-NOTES-ja.htmlTRANS.TBL[root@localhostq]#cdCentOS[root@localhostCentOS]#ls
7、grepcachingcaching-nameserver-9.3.4-10.P1.el5.i386.rpm[root@localhostCentOS]#rpm-ivhcaching-nameserver-9.3.4-10.P1.el5.i386.rpmwarning:caching-nameserver-9.3.4-10.P1.el5
8、.i386.rpm:HeaderV3DSAsignature:NOKEY,keyIDe8562897Preparing...###########################################[100%]1:caching-nameserver###########################################[100%][root@localhostCentOS]#3、修改文件属性[root@localhostetc]#lltotal28-rw-r--r--1roo
9、troot3519Feb272006localtime-rw-r-----1rootnamed1195Jan212009named.caching-nameserver.conf-rw-r-----1rootnamed955Jan108:53named.conf-rw-r-----1rootnamed955Jan212009named.rfc1912.zones-rw-r-----1rootnamed113Feb92012rndc.key4、编辑DNS主配置文件options{directory"/va
10、r/named";};zone"."IN{typehint;file"named.ca";};zone"localdomain"IN{typemaster;file"localdomain.zone";allow-update{none;};};zone"localhost"IN{typemaster;file"localhost.zone";allow-update{none;};};zone"0.0.127.in-addr.arpa"IN{typemaster;file"named.local";a
11、llow-update{none;};};zone"ahip.cn"IN{typemaster;file"ahip.cn.host";allow-update{none;};};zone"2.168.192.in-addr.arpa"IN{typemaster;file"192.168.2.rev";allow-update{none;};};5、正向解析配置[root@localhostnamed]#vimahip.cn.host$TTL
此文档下载收益归作者所有