Dns-views Configuration
1. Principle
In a master configuration file, you can specify multiple view, and use DNS to provide a view directive to enable parsing of the same domain name based on different IP ranges.
For example, when parsing www.dg.com, if the client belongs to intranet, then the IP address is returned as 192.168.1.25
If the client is a extranet, it will return 88.66.66.66.
Experimental environment:
A.vmware redhat5.4 (dns,www) b.vmware redhat5.4 (firewall). C.vmware XP
The experiment topology diagram is as follows:
More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/Servers/DNS/
Experiment steps:
1. Install DNS server, WWW server
2. Modify configuration file/var/named/chroot/etc/named.conf
[Root@localhost ~]# vim/var/named/chroot/etc/named.conf
3. Add scopes and modify Vim/var/named/chroot/etc/name.rfc1912.zones
4. Modify configuration file Vim/var/named/chroot/var/named/dg.com.zone