Lux操作系统下配置DNS服务器的方法介绍.doc

Lux操作系统下配置DNS服务器的方法介绍.doc

ID:49771349

大小:42.51 KB

页数:7页

时间:2020-03-04

Lux操作系统下配置DNS服务器的方法介绍.doc_第1页
Lux操作系统下配置DNS服务器的方法介绍.doc_第2页
Lux操作系统下配置DNS服务器的方法介绍.doc_第3页
Lux操作系统下配置DNS服务器的方法介绍.doc_第4页
Lux操作系统下配置DNS服务器的方法介绍.doc_第5页
资源描述:

《Lux操作系统下配置DNS服务器的方法介绍.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、Linux操作系统下配置DNS服务器的方法介绍    有两台邮件服务器分别为192.168.1.1(windows下主机名为b.test.cn)和192.168.1.3(linux下主机名为a.test.com)。  在linux下配置DNS服务器,下面是配置过程中设置过的一些文件,  /etc/hosts文件的具体内容如下:  #Donotremovethefollowingline,orvariousprograms  #thatrequirenetworkfunctionalitywillfail.  127.0.0.1localhost.localdomainlocalhost

2、fc4  192.168.1.3a.test.coma  192.168.1.1b.test.cnb  /etc/host.conf文件:  orderhosts,bind  表示先用hosts文件做解析,在用DNS解析  /etc/resolv.conf文件:  ;generatedbyNetworkManager,donotedit!  searchtest.com  nameserver127.0.0.1  searchtest.cn  nameserver192.168.1.1  nameserver61.144.56.100  /etc/named.conf文件:  //  

3、//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.P

4、reviousversionsofBINDalwaysasked  *questionsusingport53,butBIND8.1usesanunprivileged  *portbydefault.  */  //query-sourceaddress*port53;  };  //  //acachingonlynameserverconfig  //  controls{  inet127.0.0.1allow{localhost;}keys{rndckey;};  };  zone"."IN{  typehint;  file"named.ca";  };  zone"tes

5、t.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

6、.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.

7、com文件下:  $TTL86400  @INSOAa.test.com.root.a.test.com(  42;serial(d.adams)  3H;refresh  15M;retry  1W;expiry  1D);minimum  INNSa.test.com.  INMX10mail.test.com.  aINA192.168.1.3  mailINA192.168.1.3  //其中root.a.test.com的含义是管理员

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。