The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



Индекс форумов
Составление сообщения

Исходное сообщение
"DNS-сервер на Alt linux"
Отправлено Koba_LTD, 10-Ноя-05 10:50 
>>покажи мне то что я сам не знаю но покажи.
>>кофиги в студию, телепаты в отпуске.
>
>named.conf
>// This is the primary configuration file for the BIND DNS server
>named.
>//
>// If you are just adding zones, please do that in /var/lib/bind/etc/local.conf
>
>
>include "/etc/options.conf";
>include "/etc/rndc.conf";
>include "/etc/local.conf";
>-------------------------------------------------------------
а файл зоны в которой производились изменения
>
>options.conf
>    /* Turn on enforcment of delegation-only in TLDs
>and root zones with
>     * an optional exclude list.
>     * Note some TLDs are NOT delegation
>only (e.g. "DE", "LV", "US" and "MUSEUM").
>    */
>    root-delegation-only exclude { "de"; "lv"; "us"; "museum"; };
>
>
>    /*
>     * For localhost configuration, uncomment the listen-on
>directive below.
>    */
>    //  listen-on { 127.0.0.1; };
>
>    /*
>     * If forward directive set to "only",
>the server will only query
>     * the forwarders.
>    */
>    //  forward only;
>    //  forwarders { };
>
>    /*
>     * Specifies which hosts are allowed to
>ask ordinary questions.
>    */
>    //  allow-query { localnets; };
>
>    /*
>     * 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 { localnets; };
>
>    /*
>     * Sets the maximum time for which
>the server will cache ordinary (positive)
>     * answers.  The default is one
>week (7 days).
>    */
>    //  max-cache-ttl 86400;
>};
>---------------------------------------------------------
>
>rndc.conf
>controls {
>    inet 127.0.0.1 port 953 allow { localhost; }
>keys { "rndc-key"; };
>};
>
>include "/etc/rndc.key";
>-----------------------------------------------------------
>
>local.conf
>include "/etc/rfc1912.conf";
>
>// Consider adding the 1918 zones here, if they are not used
>in your organization.
>//  include "/etc/rfc1918.conf";
>
>// Add other zones here
>zone "10.10.10.in-addr.arpa" {
>    type master;
>    file "10.10.10.in-addr.arpa";
>    allow-update { none; };
>};
>
>zone "zavod.lok" {
>    type master;
>    file "zavod.lok";
>    allow-update { none; };
>};
>---------------------------------------------------------
>
>rfc1912.conf
>// Be authoritative for the localhost forward and reverse zones,
>// and for broadcast zones as per RFC 1912.
>
>zone "localhost" {
>    type master;
>    file "localhost";
>    allow-update { none; };
>};
>
>zone "localdomain" {
>    type master;
>    file "localdomain";
>    allow-update { none; };
>};
>
>zone "127.in-addr.arpa" {
>    type master;
>    file "127.in-addr.arpa";
>    allow-update { none; };
>};
>
>zone "0.in-addr.arpa" {
>        type master;
>        file "empty";
>    allow-update { none; };
>};
>
>zone "255.in-addr.arpa" {
>        type master;
>        file "empty";
>    allow-update { none; };
>};


 

Ваше сообщение
Имя*:
EMail:
Для отправки новых сообщений в текущей нити на email укажите знак ! перед адресом, например, !user@host.ru (!! - не показывать email).
Более тонкая настройка отправки ответов производится в профиле зарегистрированного участника форума.
Заголовок*:
Сообщение*:
 
При общении не допускается: неуважительное отношение к собеседнику, хамство, унизительное обращение, ненормативная лексика, переход на личности, агрессивное поведение, обесценивание собеседника, провоцирование флейма голословными и заведомо ложными заявлениями. Не отвечайте на сообщения, явно нарушающие правила - удаляются не только сами нарушения, но и все ответы на них. Лог модерирования.



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру