Linux Centos7DNS parsing (forward parsing, reverse parsing, master-slave replication) everything you want
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.