Environment
Operating system: CentOS 6.5
DNS software: Bind (Installation reference: "Linux" DNS service-bind basic configuration (ii))
Bind slave Server
From the server is to add the configuration information from the domain example.net in the main configuration file of Bind 3
1. configuration file Location
/var/named/chroot/etc/named.conf
2. Add a zone definition for a row of fields in the master configuration file:
Zone "Example.net" {
Type slave;
Masters {120.27.99.64;};
File "Slaves/example.net.zone";
}
3, because bind is named user to run, so to the Storage zone file folder (/var/named/chroot/var/named/slaves) Authorization:
Before authorization:
Authorized:
4, start the BIND service, services named Start, in the Storage Zone folder (/var/named/chroot/var/named/slaves) view, has put the Example.net.zone file down
5, modify the DNS server IP address, test dig www.example.net
"Linux" DNS service-bind from server, cache server, forwarding server configuration