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

The solution to the non-synchronization of DNS master and slave servers

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article shows you the solution to the non-synchronization of DNS master and slave servers, which is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

After modifying the zone file and adding a new resolution, restart the named service, and then find that the master can parse successfully, but the slave parse fails.

Log in to view the zone file from the server and find that it is not synchronized with the master

Look at the message log from the server and find as follows:

After the master is restarted, after the notify is completed,

Log printing:

May 28 14:41:54 localhost named [16376]: client 192.168.199.2#13233/key abc: view abc: received notify for zone 'abc.com': TSIG' abc'May 28 14:41:54 localhost named [16376]: zone abc.com/IN/abc: notify from 192.168.199.2 '13233: zone is up to date

The log shows that the zone file is new, but it cannot be parsed. It is suspected that the time is out of sync. This problem still exists after the synchronization time. Continue to check the message log and find:

May 28 14:43:34 localhost named [16376]: zone abc.com/IN/ab: serial number (2771787510) received from master 192.168.199.234 53 < ours (4236726300)

The serial number of the slave server is larger than the master serial number.

Modify the master server serial number is larger than the slave server, and then restart the named service

The log from the server is as follows:

May 28 14:52:59 localhost named [16376]: zone abc.com/IN/ab: transferred serial 4236726400: TSIG 'ab'May 28 14:52:59 localhost named [16376]: transfer of 'abc.com/IN/ab' from 192.168.199.21953: Transfer completed: 1 messages, 220 records, 5485 bytes, 0.045 secs (121888 bytes/sec)

Since the server has been synchronized, you can resolve to add a new domain name

The above is the solution to the non-synchronization of DNS master and slave servers. have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

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