Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Analysis of an example of configuring DNS Server under Centos6.5

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces the relevant knowledge of "case analysis of configuring DNS server under Centos6.5". The editor shows you the operation process through the actual case, and the operation method is simple, fast and practical. I hope this article "case analysis of configuring DNS server under Centos6.5" can help you solve the problem.

The configuration requirements are as follows:

Install and configure bind service in the server, responsible for regional "xiangcheng.net" ip address 10.100.100.x, host resolution, five hosts are dns.xiangcheng.net, www.xiangcheng.net, bbs.xiangcheng.net, pxe.xiangcheng.net, ftp.xiangcheng.net, ftpl.xiangcheng.net, do forward and reverse dns service resolution, and forward the resolution of accessing yongli.com domain to 10.100.10.100

Let's first install a command line prompt interface centos6.5, memory: 512mb, hard disk: 4G.

Modify the local source:

Enter centos-media.repo in edit mode, modify the configuration file, and save exit

You can then use the local installation. Because it is the easiest to install centos, we will also install the system components with the following command:

Yum install vim*-y install vim

Yum install system-config-net*-y install network

Yum install system-config-firewall*-y install fireproof window

Yum install bind-u*-y install bind

Yum install setuptool*-y install setup

Modify named.conf

Modify named.rfc1912.zones

Modify named.localhost (forward)

Modify named.loopback (reverse)

Finally, enter named.con to configure forwarding.

You can see that both the positive and negative directions have been resolved successfully (since there are six that need to be parsed, they will not be parsed one by one, so let's parse one here)

This is the end of the content of "instance Analysis of configuring DNS Server under Centos6.5". Thank you for your reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report