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

Configure DNS server under Centos6.5

2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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)

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

Servers

Wechat

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

12
Report