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

Re: [linux_var] named.conf per più reti locali



Mr. P|pex wrote:
> ciao
> sul mio serverino utilizzo named come farward per il
> DNS della rete locale.
> Ora gestisce anche il servizio di OPENVPN, e vorrei
> far usare come DNS ai client che si collegano il mio
> named locale

options {
        directory "/var/named";
        /* listen-on-v6 { any; }; */
        /*
         * If there is a firewall between you and nameservers you want
         * to talk to, you might need to uncomment the query-source
         * directive below.  Previous versions of BIND always asked
         * questions using port 53, but BIND 8.1 uses an unprivileged
         * port by default.
         */
        query-source address * port 53;
        allow-query { any; };
        allow-transfer { none; };
        recursion no;
        version "y0! Suck my dick!";
};

zone "." IN {
        type hint;
        file "caching-example/named.ca";
};

zone "localhost" IN {
        type master;
        file "caching-example/localhost.zone";
        allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
        type master;
        file "caching-example/named.local";
        allow-update { none; };
};

[cut]
mie zone
[/cut]

Questo è il mio, funziona anche in v6

HelLViS69

Attachment: signature.asc
Description: OpenPGP digital signature