Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options {
- sortlist {
- { ynetg;
- { ynetg;
- { ynetw; }; };};
- { rnetg;
- { rnetg;
- { rnetw; }; };};
- { dnetg;
- { dnetg;
- { dnetw; }; };};
- { ynetw;
- { ynetw;
- { ynetg; }; };};
- { rnetw;
- { rnetw;
- { rnetg; }; };};
- { dnetw;
- { dnetw;
- { dnetg; }; };};
- { any;
- { anetw; };};
- };
- version "unknown";
- directory "/zone";
- files 32768;
- lame-ttl 600;
- max-ncache-ttl 7200;
- max-cache-ttl 1209600;
- recursive-clients 20000;
- tcp-clients 1000;
- max-cache-size 0;
- acache-enable yes;
- max-acache-size 4G;
- acache-cleaning-interval 480;
- edns-udp-size 1400;
- max-udp-size 1400;
- /*
- * ALT Linux: this requires write permission to /session/
- */
- // session-keyfile "/session/session.key";
- pid-file "";
- dump-file "/var/run/named_dump.db";
- statistics-file "/var/run/named.stats";
- recursing-file "/var/run/recursing";
- /*
- * Oftenly used directives are listed below.
- */
- /*
- * For the localhost configuration, uncomment the listen-on directive
- * below.
- */
- //listen-on { 127.0.0.1; };
- /*
- * If the forward directive is set to "only", the server will only
- * query the forwarders.
- */
- //forward only;
- //forwarders { };
- forward first;
- forwarders { IP авторитетного DNS; };
- /*
- * Specifies which hosts are allowed to ask ordinary questions.
- */
- allow-query { homenets; };
- allow-query-cache { homenets; };
- /*
- * Specifies which hosts are allowed to make recursive queries
- * through this server. If not specified, the default is to allow
- * recursive queries from all hosts. Note that disallowing recursive
- * queries for a host does not prevent the host from retrieving data
- * that is already in the server's cache.
- */
- allow-recursion { homenets; };
- /*
- * Sets the maximum time for which the server will cache ordinary
- * (positive) answers. The default is one week (7 days).
- */
- //max-cache-ttl 86400;
- /*
- * The server will scan the network interface list every
- * interface-interval minutes. The default is 60 minutes.
- * If set to 0, interface scanning will only occur when the
- * configuration file is loaded. After the scan, listeners will
- * be started on any new interfaces (provided they are allowed by
- * the listen-on configuration). Listeners on interfaces that
- * have gone away will be cleaned up.
- */
- //interface-interval 0;
- };
- logging {
- /*
- * ALT Linux: if enabled, this fills log uselessly
- */
- category lame-servers {null;};
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement