From: "Aleksey Avdeev" <solo_oboroten@mail333.com>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Re: pdnsd, вопросы по конфигурированию
Date: Sat, 07 Jun 2003 19:45:33 +0400
Message-ID: <3EE2089D.10507@mail333.com> (raw)
In-Reply-To: <20030604170928.GA2799@solemn.turbinal.org>
[-- Attachment #1: Type: text/plain, Size: 674 bytes --]
Alexey Tourbin пишет:
> On Wed, Jun 04, 2003 at 01:50:33PM +0400, Aleksey Avdeev wrote:
>
>> Спасибо. Попробую дома поюзать его без bind`а.
>
>
> Поищите search.altlinux.ru по запросу pdnsd.
> Я как-то объяснял, как убедиться в том, что оно правильно работает.
Спасибо - работает.
Теперь вопрос в следующем: Как правильно задать конфигурацию,
аналогичную используемой bind`ом (файл mydomain)?
После прочтения документации я решил, что нужно задавать
группу rr для каждой машины (+ rr для обратной зоны). Подозреваю,
что в чёмто не разобрался. Есть ли болие правильное решение?
(pdnsd.conf - прилагаю)
Спасибо за внимание.
--
С уважением. Алексей.
[-- Attachment #2: pdnsd.conf --]
[-- Type: text/plain, Size: 2199 bytes --]
# $Id: pdnsd.conf,v 1.2 2003/01/27 00:23:49 at Exp $
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_ip="0.0.0.0";
server_port=53;
max_ttl=3600000;
min_ttl=600;
}
server {
# A.ROOT-SERVERS.NET by default
# ip="198.41.0.4";
# but use ISP DNS1 whenever possible
ip="212.44.131.6";
changeable_ip=on;
label="pppdns1";
timeout=30;
purge_cache=off;
}
server {
# B.ROOT-SERVERS.NET by default
# ip="128.9.0.107";
# but use ISP DNS2 whenever possible
ip="212.44.130.6";
changeable_ip=on;
label="pppdns2";
timeout=30;
purge_cache=off;
}
source {
ttl=86400;
owner="localhost.";
file="/etc/hosts";
serve_aliases=off;
}
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;
}
rr {
ttl=86400;
owner="localhost.";
name="localdomain.";
a="127.0.0.0";
soa="localhost.","root.localhost.",2003060601,86400,900,86400,86400;
}
rr {
ttl=86400;
owner="localhost.";
name="mydomain.";
a="192.168.0.0";
# name="shluz.mydomain.";
# a="192.168.0.1";
soa="shluz.", "root.shluz.",2003060603,86400,900,86400,86400;
}
rr {
ttl=86400;
owner="localhost.";
name="0.0.168.192.in-addr.arpa.";
ptr="mydomain.";
soa="shluz.", "root.shluz.",2003060602,86400,900,86400,86400;
}
rr {
ttl=86400;
owner="localhost.";
name="shluz.mydomain.";
a="192.168.0.1";
soa="shluz.", "root.shluz.",2003060604,86400,900,86400,86400;
}
rr {
ttl=86400;
owner="localhost.";
name="1.0.168.192.in-addr.arpa.";
ptr="shluz.mydomain.";
soa="shluz.", "root.shluz.",2003060604,86400,900,86400,86400;
}
rr {
ttl=86400;
owner="localhost.";
name="win.mydomain.";
a="192.168.0.10";
soa="shluz.", "root.shluz.",2003060605,86400,900,86400,86400;
}
rr {
ttl=86400;
owner="localhost.";
name="10.0.168.192.in-addr.arpa.";
ptr="win.mydomain.";
soa="shluz.", "root.shluz.",2003060605,86400,900,86400,86400;
}
[-- Attachment #3: mydomain --]
[-- Type: text/plain, Size: 421 bytes --]
$TTL 1D
@ IN SOA shluz root.shluz (
2003032318 ; serial
12H ; refresh
1H ; retry
1W ; expire
1H ; ncache
)
IN NS localhost.
IN A 192.168.0.0
//localhost IN A 127.0.0.1
localhost IN CNAME localhost.
shluz IN A 192.168.0.1
HINFO "i586" "ALM 2.2"
mail IN CNAME shluz
dns IN CNAME shluz
samba IN CNAME shluz
win IN A 192.168.0.10
HINFO "duron" "WIN98SE.RU"
;localhost IN CNAME localhost.
prev parent reply other threads:[~2003-06-07 15:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-02 12:43 [sisyphus] " Aleksey Avdeev
2003-06-02 13:36 ` Dmitry V. Levin
2003-06-02 13:56 ` [JT] " Nick N. Vinogradov
2003-06-02 15:33 ` Aleksey Avdeev
2003-06-03 3:15 ` [sisyphus] " Alexey Tourbin
2003-06-04 8:03 ` Aleksey Avdeev
2003-06-04 9:11 ` Alexey Tourbin
2003-06-04 9:50 ` Aleksey Avdeev
2003-06-04 17:09 ` Alexey Tourbin
2003-06-07 15:45 ` Aleksey Avdeev [this message]
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=3EE2089D.10507@mail333.com \
--to=solo_oboroten@mail333.com \
--cc=sisyphus@altlinux.ru \
/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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git