[Comm] pdnsd как dns-сервер для других компьютеров в локальной сети

Dmitry A. Kharitonov =?iso-8859-1?q?kharpost_=CE=C1_rambler=2Eru?=
Вс Ноя 27 15:04:01 MSK 2005


Владимир Гусев wrote:
>> Я думаю так
>> # local usage only
>> #          server_ip="127.0.0.1";
>> #          server_port=53;
>>           max_ttl=3600000;
>>           min_ttl=600;
>> Коментируйте эти строки должно помочь.
>> Я тоже ставил в виртуальной сети не работало как закоментировал эти  
>> строки перезапустил демона все пошло, я думаю эти строки указывают 
>> что  будет
>> использоватся тока для localhost
> 
> 
> Хм.. интересно.. попробую и так
> Спасибо
> 
> 
Правильно будет
# local usage only
#          server_ip="127.0.0.1";
            server_port=53;

Что значит "слушать все доступные интерфейсы по порту 53"

server_port=number;
  Set the server port. This is especially useful when you want to start 
the server and are not root. Note that you may also not specify 
uptest=ping in the server section as non-root.
  The default port is 53, the RFC-standard one. Note that you should 
only use non-standard ports when you only need clients on your machine 
to communicate with the server; others will probably fail if the try to 
contact the server on the basis of an NS record, since the A record that 
supplies the address for (among others) name servers does not have a 
port number specification.


server_ip=string;
  Set the ip address pdnsd listens on for requests. This can be useful 
when the host has several interfaces and you want pdnsd not to listen on 
all interfaces. Addtionally, it is possibly to bind pdnsd to listen on 
127.0.0.2 to allow pdnsd to be a forwarder for BIND. pdnsd will listen 
on all of your local interfaces by default. The ip is treated as string 
and therefore needs to have quotation marks around it.




Подробная информация о списке рассылки community