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

Linux Centos7DNS parsing (forward parsing, reverse parsing, master-slave replication) everything you want

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

Share

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

1. DNS forward resolution 1. Check to see if there is a BIND bag, and if not, go and install it.

two。 Enter the main configuration file

The vim / etc/named.conf main configuration file controls the global configuration

3. Enter the zone profile

Vim / etc/named.rfc1912.zones

The area profile controls the specific order area

4. Copy our data configuration file and replace the default

5. Enter the zone data profile

Vim / var/named/named.localhost

Zone data profile

Regional information

6. Turn off firewalls, enhance features, and turn on services

7. Try to add local parsing.

two。 Reverse parsing 1. Enter the main configuration file

The vim / etc/named.conf main configuration file controls the global configuration

two。 Copy, enter the zone data profile

3. Configure area data profile

4. Restart the service to see if it can be parsed

three。 Master-slave replication (as a backup server)

The vim / etc/named.conf main configuration file controls the global configuration

1. Enter the master profile (slave server)

two。 Enter the zone profile (from the server)

Vim / etc/named.rfc1912.zones

3. Modify the zone configuration file of the main dns server

4. Restart services (master and slave servers)

5. Let's try to see if the slave server can resolve the address like the master server.

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