Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Alexandr Goncharov                   2:5020/400     09 Apr 2003  06:34:45
 To : "Sergey Panchenko"
 Subject : Re: база named
 -------------------------------------------------------------------------------- 
 
 Sergey Panchenko <sp@psy-jr.eu.org> wrote:
 
 SP> Вот такой вопрс: а умеет ли named работать с БД?
 
 С LDAP - умеет точно (проверялось). 
 Хотя есть одна неприятность. В память ничего не грузится,
 ответ на каждый запрос ищется в базе. Что приводит к тому, что в связке
 master-slave мастер никаких анонсов слэйву не отправляет. И изменение зоны в
 базе становятся известны вторичным серверам только после того, как они сами
 опрос сделают.
 
 С другими базами - см. doc/misc/sdb в дистрибутиве v9.
 Вот оттуда несколько строк:
 
 The Original BIND 9 Database Interface
 
 BIND 9 has a well-defined "back-end database interface" that makes it
 possible to replace the component of the name server responsible for
 the storage and retrieval of zone data, called the "database", on a
 per-zone basis.  The default database is an in-memory, red-black-tree
 data structure commonly referred to as "rbtdb", but it is possible to
 write drivers to support any number of alternative database
 technologies such as in-memory hash tables, application specific
 persistent on-disk databases, object databases, or relational
 databases.
 ....
 
 BIND 9.1 introduced a new, simplified database interface, or "sdb",
 which greatly simplifies the writing of drivers for these kinds of
 applications.
 The sdb Driver
 
 An sdb driver is an object module, typically written in C, which is
 linked into the name server and registers itself with the sdb
 subsystem.  It provides a set of callback functions, which also serve
 to advertise its capabilities.  When the name server receives DNS
 queries, invokes the callback functions to obtain the data to respond
 with.
 
 SP> With best regards, Sergey Panchenko.  E-mail: sp@psy-jr.eu.org
 -- 
 Alexandr V. Goncharov,   | Digital Networks, Sibirtelecom
 AGV-RIPE,      | agv@tomsknet.ru 
 AGV3-RIPN      | phonе: +7(382-2)662510
 --- ifmail v.2.15dev4
  * Origin: Tomsktelecom - Digital Networks (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Re: база named   Alexandr Goncharov   09 Apr 2003 06:34:45 
Архивное /ru.unix.bsd/12232180c5585.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional