- 1、本文档共25页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
linuxdns配置(国外英语资料)
linuxdns配置
Linux set up the DNS server and the configuration file (named.conf) mac
Before you configure, first look at the BIND DNS server software: BIND is an open source DNS (Domain Name System) protocol implementation, including all the software needed to query and respond to the domain name. It is the most widely used DNS server on the Internet, and has become a de standard for UNIX like systems.
To parse the domain name or IP address for the DNS server, we have to install BIND and caching-nameserver. In order for TCP and UDP53 packets to pass, we also need to configure the router.
Install the BIND package
1, installation
# Yum -y install bind caching-nameserver
2, configuration
The following example is illustrated by the public network IP (0/29), the LAN IP (/24), and the domain name (). When configuring your own server, use your own IP and domain names.
# VIM /etc/named.conf
Options {
Directory /var/named;
# query range
Allow-query {localhost; /24;};
# transfer range
Allow-transfer {localhost; /24;};
# recursion range
Allow-recursion {localhost; /24;};
};
Controls {
INET, , allow, {localhost;} keys {rndckey;};
};
Here is the section for internal # informations
Vimew internal {
Match-clients {
Localhost;
/24;
};
Zone . IN {
Type hint;
File named.ca;
};
Set zones for internal #
Zone IN {
Type master;
File .lan;
Allow-update {none;};
};
Set zones for internal #
Zone 0.168.192. IN {
Type master;
File 0.168.192.db;
Allow-update {none;};
};
Zone localdomain IN {
Type master;
File localdomain.zone;
Allow-update {none;};
};
Zone localhost IN {
Type master;
File localhost.zone;
Allow-update {none;};
};
Zone 0.0.127. IN {
Type master;
File named.local;
Allow-update {none;};
};
Zone 255. IN {
Type master;
File named.broadcast;
Allow-update {none;};
};
Zone 0. IN {
Type master;
File named.zero;
Allow-update {none;};
};
};
Vimew external {
Match-clients {
Any;
};
Zone . IN {
Type hint;
File named.ca;
};
Set zones for external #
Zone IN {
Type master;
File .wan;
Allow-upd
您可能关注的文档
- 2011年政法队伍建设工作总结(国外英语资料).doc
- 2011年八年级暑假生活指导 答案(山东教育出版社)(国外英语资料).doc
- 2011年教师招聘考试公共基础知识填空总结(国外英语资料).doc
- 2011年江苏省高二历史学业水平模拟考试5(国外英语资料).doc
- 2011年江苏高考物理试题及答案(国外英语资料).doc
- 2011年教师招聘考试公共基础知识(国外英语资料).doc
- 2011年沭阳绿化苗木种子参考价格(国外英语资料).doc
- 2011年电子电工高考考纲(国外英语资料).doc
- 2011年葡萄病虫害防备用药笔记(国外英语资料).doc
- 2011年秋福师《计算机应用基础》在线作业一(国外英语资料).doc
- 难点详解鲁教版(五四制)6年级数学下册期末测试卷带答案详解(考试直接用).docx
- 难点详解鲁教版(五四制)6年级数学下册期末试题【培优】附答案详解.docx
- 难点解析鲁教版(五四制)7年级数学下册期末试题及完整答案详解(全国通用).docx
- 难点解析鲁教版(五四制)7年级数学下册期末试题含完整答案详解(名师系列).docx
- 难点解析鲁教版(五四制)7年级数学下册期末试题含完整答案详解【全国通用】.docx
- 难点解析鲁教版(五四制)7年级数学下册期末试卷(突破训练)附答案详解.docx
- 难点解析鲁教版(五四制)7年级数学下册期末试卷(能力提升)附答案详解.docx
- 难点详解京改版数学9年级上册期中试卷附参考答案详解【突破训练】.docx
- 难点解析鲁教版(五四制)7年级数学下册期末试题含完整答案详解(有一套).docx
- 难点解析鲁教版(五四制)7年级数学下册期末试卷带答案详解(夺分金卷).docx
最近下载
- 减肥打卡社群运营.pdf
- 时间管理之四象限法则的运用PPT(59张)课件.pptx VIP
- Unit 5 Whose dog is it_ Part A Spell 课件人教版英语五年级下册.pptx
- 价值管理的信息系统开发.pptx VIP
- 装饰装修施工组织设计(完整版).pdf
- 模板专项施工方案(完整版).docx
- 《最后一片叶子》课件高教版中职语文基础模块上册.pptx
- 光合速率的测定方法讲课教案.ppt
- 电气控制与可编程控制技术课程设-三相六拍步进电机PLC控制系统的设计.docx VIP
- 2024-2025学年苏科版八年级物理下册 第9章 压强和浮力【速记清单】(解析版).pdf VIP
文档评论(0)