Red Hat Linux 7.3: The Official Red Hat Linux Customization Guide | ||
---|---|---|
Prev | Chapter 15. BIND Configuration | Next |
To add a slave zone (also known as a secondary master), click the Add button and select Slave Zone. Enter the domain name for the slave zone in the Domain name text area.
A new window will appear, as shown in Figure 15-4, with the following options:
Name — The domain name that was entered in the previous window.
Masters List — The name server from which the slave zone retrieves its data. This value must be a valid IP address. You can only enter numbers and dots (.) in the text area.
File Name — File name of the DNS database file in /var/named.
The configuration shown in Figure 15-4 creates the following entry in /etc/named.conf:
zone "slave.example.com" { type slave; file "slave.example.com.zone"; masters { 1.2.3.4; }; }; |
The configuration file /var/named/slave.example.com.zone is created by the named service when it downloads the zone data from the master server(s).
After configuring the slave zone, click OK to return to the main window as shown in Figure 15-1. From the pulldown menu, choose File => Apply to write the /etc/named.conf configuration file and have the daemon reload the configuration files.