The OpenNET Project / Index page

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



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

Исходное сообщение
"Настройка PowerDNS"
Отправлено stalker37, 28-Дек-16 15:13 
>> хинт - включите логирование sql  запросов и вы увидите что именно
>> запрашивает Ваш DNS сервер у базы данных.
> Вот за это спасибо, дело было в базе.
>> Хинт2. смотрите Ваш /etc/resolv.conf на предмет опции search и её значения
> Я думаю что /etc/resolv.conf тут ни при чем, я же указываю @localhost,
> т.е. нарямую спрашиваю конкретный сервер.

А речь не про то у кого Вы спрашиваете,а про то, что именно спрашиваете.

man resolv.conf /search

search Search list for host-name lookup.
              The search list is normally determined from the local domain name; by default, it contains only the local domain name.  This may be changed by listing the desired
              domain search path following the search keyword with spaces or tabs separating the names.  Resolver queries having fewer than ndots dots (default is  1)  in  them
              will  be  attempted using each component of the search path in turn until a match is found.  For environments with multiple subdomains please read options ndots:n
              below to avoid man-in-the-middle attacks and unnecessary traffic for the root-dns-servers.  Note that this process may be slow and will generate a lot of  network
              traffic if the servers for the listed domains are not local, and that queries will time out if no server is available for one of the domains.

              The search list is currently limited to six domains with a total of 256 characters.

....
The domain and search keywords are mutually exclusive.  If more than one instance of these keywords is present, the last instance wins.

       The search keyword of a system's resolv.conf file can be overridden on a per-process basis by setting the environment variable LOCALDOMAIN to a space-separated  list  of
       search domains.

       The  options  keyword  of  a system's resolv.conf file can be amended on a per-process basis by setting the environment variable RES_OPTIONS to a space-separated list of
       resolver options as explained above under options

 

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



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

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