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

Building DNS Master-Slave Server in linux redhat6.5

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

Share

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

Brief introduction of DNS master-slave server:

Primary DNS server:

The server that maintains the domain parsing library that is responsible for parsing; the parsing library is maintained by management.

From the DNS server:

Copy (zone transfer) a parse library from the main DNS server or other from the DNS server

First build the DNS server in two linux

There is a detailed tutorial in the article before the construction of DNS: https://blog.51cto.com/13630803/2114574

Let's start to configure master-slave synchronization.

1: use virtual machine 1 as the primary DNS

Edit its area file named.rfc1912.zones

Configure positive and negative parsing

Allow-transfer {192.168.100.102;; what is allowed here is the IP of the slave server

2: add DNS server IP address restart service

3: edit the slave server's zone file named.rfc1912.zones

Configure positive and negative parsing

Masters {192.168.100.101;}; specify the IP of the primary DNS server

4: join the IP from the server to the resolv.conf

Restart the service

Host 192.168.100.118 resolves the domain name as www.benet.com.

IP parsed by host www.benet.com is 192.168.100.118

5: check at / var/named/slaves

Looking at benet.com.zone and benet.com.local, you can see that the configuration file is configured for master-slave synchronization.

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