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

DNS server for Centos_6.5

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Suppose we need to create a DNS server now, and the IP is as follows:

DNS:192.168.20.20

WEB:192.168.20.30

MAIL:192.168.20.40 (priority 10)

1. Since our system has just been installed, let's first configure the yum installation source. After it is done, let's configure the IP address of this DNS server, mount our installation source by the way, and turn off the firewall first.

a. Change to the yum configuration source directory to delete all sources and create your own yum installation source

The configuration in the b.yum source is as follows. Save and exit after configuration.

c. Turn off firewall configuration, IP address of DNS server

e. Restart network configuration

d. Mount the CD and image to / mnt

2. Let's install the DNS server.

a. Install the dns service

b. After installing the dns server, let's configure the name.conf configuration file

c. Then let's configure the area file.

d. Drag to the last line to add these two zone configurations

e. Configure forward parsing file

f. Configure reverse resolution file

g. Once configured, restart the DNS service

Finally, let's test whether our forward and backward parsing is successful.

a. You can see that forward parsing is fine, followed by reverse parsing.

b. Reverse parsing is no problem, so our experiment ends 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