[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

To update bind9 view



How I can to update ONE view from bind9?

I have a bind9 with internal & external views. I like the clients will
to update yours IP address with dynamic dns (with a cgi perl script),
but it fail with this message (daemon.log file):

named[22320]: client 127.0.0.1#39489: update 'midomain.net/IN' denied

I have defined into named.conf.local:
acl "external" {
        127.0.0.1;
        172.26.0.3;
};
acl "internal" {
        127.0.0.1;
        172.26.0.3;
};

and the views:
view "internal" {
        recursion yes;
        match-clients {
                172.26.0.0/24;
                127.0.0.1/24;
        };
        include "/etc/bind/zonas.internas";
};
view "external" {
        recursion no;
        match-clients {
                any;
        };
        include "/etc/bind/zonas.externas";
};

and the domain definition have:
zone "midomain.net." {
        type master;
        file "db.midomain.net";
        allow-query{
                any;
        };
        allow-update{
                external;
        };
};

-- 
______________________________________________________________
JoaquinFerrero.com                          Linux User #109802




Reply to: