VYRESENO Bind a widle - nedochazi k update zony
Libor Chocholaty
libor_ml1 na mts.cz
Čtvrtek Listopad 27 00:19:24 CET 2008
Nechybi vam tam nejake ukoncovaci zavorky pro view badguys?
Libor
Petr Hvězda wrote:
> K tomu uz asi neni co dodat. Posilam konfigurak named.conf, pres ktery to
> slape, treba to nekdy nekomu v budoucnu pomuze. Dekuji za vsechny rady.
>
> options {
> directory "/var/named";
> dump-file "/var/named/data/cache_dump.db";
> statistics-file "/var/named/data/named_stats.txt";
> allow-recursion { localhost; in_unistav; unistav; };
> forwarders { xxx; };
> notify yes;
> interface-interval 1;
> };
> include "/etc/rndc.key";
>
> acl in_unistav { 192.168.0.0/16; };
> acl unistav { xxx };
>
> view "trusted" {
> match-clients { 127.0.0.1/8; 192.168.0.0/24; }; // our network
> recursion yes;
> zone "unistav.cz" {
> type master;
> file "master/internal.db.unistav.cz";
> allow-update { none; };
> allow-transfer { any; };
> allow-query { any; };
> };
>
> zone "in.unistav.cz" {
> type master;
> file "master/db.in.unistav.cz";
> allow-update { none; };
> allow-transfer { localhost; in_unistav; unistav; };
> allow-query { localhost; in_unistav; unistav; };
> };
> };
>
> view "badguys" {
> match-clients { any; }; // all ohther hosts
> recursion yes;
> zone "unistav.cz" {
> type master;
> file "master/db.unistav.cz";
> allow-update { none; };
> allow-transfer { any; };
> allow-query { any; };
> };
>
> zone "localhost" {
> type master;
> file "master/localhost";
> allow-update { none; };
> allow-transfer { any; };
> };
>
> zone "0.0.127.in-addr.arpa" {
> type master;
> file "master/127.0.0";
> allow-update { none; };
> allow-transfer { any; };
> };
>
> zone "." {
> type hint;
> file "master/named.root";
> };
>
> zone "0.168.192.in-addr.arpa" {
> type master;
> file "master/db.rev.192.168.0";
> allow-update { none; };
> allow-transfer { localhost; in_unistav; unistav; };
> allow-query { localhost; in_unistav; unistav; };
> };
>
> zone "1.168.192.in-addr.arpa" {
> type master;
> file "master/db.rev.192.168.1";
> allow-update { none; };
> allow-transfer { localhost; in_unistav; unistav; };
> allow-query { localhost; in_unistav; unistav; };
> };
>
> zone "2.168.192.in-addr.arpa" {
> type master;
> file "master/db.rev.192.168.2";
> allow-update { none; };
> allow-transfer { localhost; in_unistav; unistav; };
> allow-query { localhost; in_unistav; unistav; };
> };
>
> zone "6.168.192.in-addr.arpa" {
> type master;
> file "master/db.rev.192.168.6";
> allow-update { none; };
> allow-transfer { localhost; in_unistav; unistav; };
> allow-query { localhost; in_unistav; unistav; };
>
> };
>
> zone "8.168.192.in-addr.arpa" {
> type master;
> file "master/db.rev.192.168.8";
> allow-update { none; };
> allow-transfer { localhost; in_unistav; unistav; };
> allow-query { localhost; in_unistav; unistav; };
>
>
Další informace o konferenci Linux