- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
dns配置2(DNS configuration 2)
dns配置2(DNS configuration 2)
NAT built last Friday, in addition to no DNS parsing function, the other are OK
Installing DNS services
You can find the bind-9.2.1-16.i386.rpm installation directly from the redhat9 installation CD
Start the DNS service, service named start
Add boot automatically start chkcfg --add named on
After installation, because you do not have the default configuration file, you need to manually build the named.conf file!
CD /etc
VI named.conf
Is a blank file in which to enter the following:
Options {
Directory /var/named;
};
Zone . {
Type hint;
File named.ca;
};
Save exit
Then build the /var/named folder
CD /var
MKDIR named
CD named
Then build the root field of the file file named.ca
First of all, set up the DNS server in the /etc/resolv.conf file
Echo, nameserver, /etc/resolv.conf
Dig -t. NS will list the 13 root DNS server address (Am)
Dig, -t, NS. /var/named/named.ca
Generate the configuration file for rndc as follows:
Rndc-confgen /etc/rndc.conf
VI /etc/rndc.conf opens the file, you can see the contents of the next 13 lines have been used # notes, and that the part of the contents of the request for additional /etc/named.conf file!
The following 13 lines of content are appended to the named.conf file:
Tail +13 /etc/rndc.conf /etc/named.conf note is append rather than overwrite
Additional after editing the named.conf to remove the corresponding line of the # No.
View running records:
Tail /var/log/messages
Enter rndc status to see the status of rndc
Return:
Number of zones: 0
Debug level: 0
Xfers running: 0
Xfers deferred: 0
SOA queries in progress: 0
Query logging is OFF
Recursive clients: 0/1000
TCP clients: 0/100
Server, is, up, and, running
The explanation is normal, and DNS has been able to parse the domain name!
You can try the query results ~!
Set the DNS inside the /etc/resolv.conf file to native resolution:
Echo nameserver /etc/resolv.conf
Then you can query the DNS, such as host [url] [/url] wait for a while will return the corr
您可能关注的文档
- 03.3.牛顿第二定律(03.3. Newton's second law).doc
- ++兰州大学风雨百年发展历程_卫视_凤凰网2().doc
- 007_黄仁宇现象(007_ Huang Renyu phenomenon).doc
- 002机械挖土施工工艺(002 mechanical excavation construction technology).doc
- 007如何创建html表格(007 how to create a HTML table).doc
- 008_盼(008_ look forward to).doc
- 0.5元(0.5 yuan).doc
- 033牛顿第二定律(033 Newton's second law).doc
- 002汽车美容店投资创业方案(002 auto beauty shop investment venture program).doc
- 04 配套cad笔记(04 matching CAD notes).doc
- dota十大新手英雄(Dota ten rookie Heroes).doc
- doublelinklist(doublelinklist).doc
- dvd-r和dvd+r盘有什么区别(What's the difference between DVD-R and dvd+r disks).doc
- dvd光碟制作成带字幕rmvb流程(DVD discs are made into subtitled RMVB processes).doc
- diy金属幕布(DIY metal curtain).doc
- e 反应堆 核电站(E reactor nuclear power plant).doc
- e-learning提升了全部传统培训方式(E-learning has promoted all traditional training methods).doc
- e71快捷键设置键盘命令总结方法(E71 shortcut keys to set keyboard command summary method).doc
- display interface的显示信息详解(Display interface display information detailed).doc
- dnc传输(DNC transport).doc
文档评论(0)