help with views

Steffen Krenz steffen at krenz.com
Fri Jan 16 16:18:39 UTC 2004


Hello,

following is a configuration of my nameserver. my nameserver is running
on ip 192.168.252.42. my nameserver has a global forwarder in the
named.conf. the server loads every zone an displays no error in the log
file, in each zone i have a www entry with different IP´s, but none of
the www entry is shown. musti enable views in the named.conf file in the
options section?

i like to test this configuration from 192.168.252.41. the rest of
192.168.252.0/24 should get the test.com.ext zone. i tried it with
match-client { 192.168.252.0/24; }; but even this was not the correct
way.

i hope someone can help me.
regards
steffen

---------------------------------


view "internal" {
        match-clients { 192.168.252.41; };
        zone "test.com" {
                type master;
                file    "/var/named/test/test.com.int";
       };
};

view "external" {
        match-clients { any; };
        zone "test.com" {
                type master;
                file    "/var/named/test/test.com.ext";
        };
};



More information about the bind-users mailing list