From: "Владимир Гусев" <vova1971@narod.ru>
To: mothlike@gmail.com, "ALT Linux Community" <community@lists.altlinux.org>
Subject: Re: [Comm] pdnsd как dns-сервер для других компьютеров в локальной сети
Date: Fri, 25 Nov 2005 11:56:02 +0300
Message-ID: <op.s0sgfogtglg102@post.cnt.ru> (raw)
In-Reply-To: <200511242227.21456.mothlike@gmail.com>
>> нужно конкретно в конфиге прописать..? Хотя бы указать ip этого компа в
>> локалке или еще что-то.. а то тут только 127.0.0.1, то есть только для
>> себя он и работает..
> $ cat pdnsd.conf |grep server_ip
> server_ip="192.168.68.31";
> Ставим здесь адрес интерфейса, который смотрит в локальную сеть и можно
> будет использовать его как DNS. У меня именно так он и работает безо
> всякого bind.
global {
chroot_dir="/var/empty";
cache_dir="/var/cache/pdnsd";
run_as="pdnsd";
strict_setuid=on;
paranoid=off;
status_ctl=on;
perm_cache=2048;
# local usage only
server_ip="127.0.0.1";
server_port=53;
max_ttl=3600000;
min_ttl=600;
}
server {
# A.ROOT-SERVERS.NET by default
ip="212.188.4.10";
# but use ISP DNS1 whenever possible
changeable_ip=on;
label="pppdns1";
timeout=30;
purge_cache=off;
}
server {
# B.ROOT-SERVERS.NET by default
ip="195.34.32.116";
# but use ISP DNS2 whenever possible
changeable_ip=on;
label="pppdns2";
timeout=30;
purge_cache=off;
}
source {
ttl=86400;
owner="localhost.";
file="/etc/hosts";
}
rr {
ttl=86400;
owner="localhost.";
name="localhost.";
a="127.0.0.1";
soa="localhost.","root.localhost.",42,86400,900,86400,86400;
}
rr {
ttl=86400;
owner="localhost.";
name="1.0.0.127.in-addr.arpa.";
ptr="localhost.";
soa="localhost.","root.localhost.",42,86400,900,86400,86400;
}
Вот у меня сейчас так, как обычно.. pdnsd используется компом-шлюзом
только "для себя".. Я так понял, что достаточно вместо 127.0.0.1 прописать
его ip в локальной сети и все заработает, то есть он станет своеобразным
DNS-сервером для локалки, если прописать его ip в настройках остальных
компов.. Однако что-то не работает..
--
С уважением, Владимир Гусев
next prev parent reply other threads:[~2005-11-25 8:56 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-24 8:52 Владимир Гусев
2005-11-24 9:37 ` Наумкин Сергей
2005-11-24 11:30 ` Владимир Гусев
2005-11-24 9:37 ` Alexey Morsov
2005-11-24 11:30 ` Владимир Гусев
2005-11-24 14:30 ` Alexey Morsov
2005-11-24 19:09 ` Владимир Гусев
2005-11-24 19:26 ` Andrey Rahmatullin
2005-11-25 8:58 ` Владимир Гусев
2005-11-25 13:30 ` Andrey Rahmatullin
2005-11-25 19:02 ` Владимир Гусев
2005-11-24 19:27 ` Dmitry Marochko
2005-11-25 8:56 ` Владимир Гусев [this message]
2005-11-25 18:09 ` Dmitry Marochko
2005-11-25 18:53 ` Владимир Гусев
2005-11-25 20:37 ` Odergimiy
2005-11-25 23:00 ` Владимир Гусев
2005-11-27 12:04 ` Dmitry A. Kharitonov
2006-01-04 22:59 ` Dmitry A. Kharitonov
2005-11-25 20:06 ` [Comm] " Алексей Синицын
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=op.s0sgfogtglg102@post.cnt.ru \
--to=vova1971@narod.ru \
--cc=community@lists.altlinux.org \
--cc=mothlike@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git