Views

In Chapter 8, I discussed split DNS and internal and external views of zones. BIND 8 requires different instances of BIND serving the different zone data. BIND 9 (and, in fact, 8.2) enables implementation of split DNS more easily with the view option. With a view set up, different clients can be answered from different zone data. So, an internal client can be answered from the full internal zone data, and an external client can be answered from the limited, externally available zone data—all from one instance of BIND, instead of the two different BINDs required in the setup described in Chapter 8. The setup is as follows:

 view "internal" { // This is the internal network, and the host itself: match-clients {192.168.70.0/24; 127.0.0.1; ...

Get Concise Guide to DNS and BIND, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.