预览加载中,请您耐心等待几秒...
1/7
2/7
3/7
4/7
5/7
6/7
7/7

在线预览结束,喜欢就下载吧,查找使用更方便

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

Linux操作系统下配置DNS服务器的方法介绍有两台邮件HYPERLINK"http://server.chinaitlab.com/"\t"_blank"服务器分别为192.168.1.1(windows下主机名为b.test.cn)和192.168.1.3(HYPERLINK"http://linux.chinaitlab.com/"\t"_blank"linux下主机名为a.test.com)。在HYPERLINK"http://linux.chinaitlab.com/"\t"_blank"linux下配置DNSHYPERLINK"http://server.chinaitlab.com/"\t"_blank"服务器,下面是配置过程中设置过的一些文件,/etc/hosts文件的具体内容如下:#Donotremovethefollowingline,orvariousprograms#thatrequirenetworkfunctionalitywillfail.127.0.0.1localhost.localdomainlocalhostfc4192.168.1.3a.test.coma192.168.1.1b.test.cnb/etc/host.conf文件:orderhosts,bind表示先用hosts文件做解析,在用DNS解析/etc/resolv.conf文件:;generatedbyNetworkManager,donotedit!searchtest.comnameserver127.0.0.1searchtest.cnnameserver192.168.1.1nameserver61.144.56.100/etc/named.conf文件:////named.confforRedHatcaching-nameserver//options{directory"/var/named";dump-file"/var/named/data/cache_dump.db";statistics-file"/var/named/data/named_stats.txt";/**Ifthereisafirewallbetweenyouandnameserversyouwant*totalkto,youmightneedtouncommentthequery-source*directivebelow.PreviousversionsofBINDalwaysasked*questionsusingport53,butBIND8.1usesanunprivileged*portbydefault.*///query-sourceaddress*port53;};////acachingonlynameserverconfig//controls{inet127.0.0.1allow{localhost;}keys{rndckey;};};zone"."IN{typehint;file"named.ca";};zone"test.com"IN{typemaster;file"test.com";allow-update{none;};};zone"1.168.192.in-addr.arpa"IN{typemaster;file"192.168.1.rev";allow-update{none;};};zone"test.cn"IN{typemaster;file"test.cn";allow-update{none;};};zone"0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa"IN{typemaster;file"named.ip6.local";allow-update{none;};};zone"255.in-addr.arpa"IN{typemaster;file"named.broadcast";allow-update{none;};};zone"0.in-addr.arpa"IN{typemaster;file"named.zero";allow-update{none;};};include"/etc/rndc.key";在/var/name/test.com文件下:$TTL86400@INSOAa.test.com.root.a.test.com(42;serial(d.adams)3H;refresh15M;retry1W;expiry1D);minimumINNSa.test.com.INMX10mail.test.com.aINA192.168.1.3mailINA192.168