Linux DNS View Configuration Application

Source: Internet
Author: User
Tags linux

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.