DNS server updates:
As soon as you hear it, you know that there are more than one DNS server. If one server does not need to be updated, right? Generally, it is a DNS cluster.
When a DNS is updated and a piece of data is added, the following changes will follow it.
Configuration of the primary DNS Server
First, configure DNS server information synchronization, and then configure and update the DNS server:
1. The preceding steps are simple:
Install the bind package and modify the named service configuration file;
Vim/etc/named. conf
2. Modify the zone statement:
Also-policy defines a list of global Domain Name Server IP addresses. Whenever a new domain file is transferred to the system, the domain name server sends NOTIFY information to these addresses and NS records in these domains.
This helps the updated domain file to converge and synchronize on the relevant domain name server as soon as possible.
3. Configure secondary DNS:
3. Install the bind software package and modify the named service configuration file;
Vim/etc/named. conf
4. Modify the zone statement:
5. Restart the secondary DNS Service:
6. Restart the primary DNS Service:
7. Go to the secondary DNS server and go to the/var/named/chroot/var/named directory to see a file:
This proves the success.
8. Test: Modify the parsing file of the primary DNS server: Add a date
9. Restart the DNS Service:
10. Go to the secondary DNS server and check whether the file/var/named/chroot/var/named has changed:
Changed? This proves that we have succeeded.
Configure and update the DNS server:
11. configuration of the primary DNS Server:
12. Restart the DNS Service:
13,
Update allows the server to modify the DNS Service:
Test:
Failed. We are prompted to add an error.
Check the log:
To update the primary DNS server, you must have operation permissions under the directory:
Prompt that we do not have permission:
Modify naemd directory permissions,
If it doesn't feel enough, recursive the file.
Now add again:
It's completely OK. Check whether the primary DNS service file contains this one:
Check whether OK: