* [Comm] ddns question to knowers
@ 2003-07-16 16:14 Maxim.Savrilov
2003-07-17 3:58 ` Mike Lykov
0 siblings, 1 reply; 2+ messages in thread
From: Maxim.Savrilov @ 2003-07-16 16:14 UTC (permalink / raw)
To: Сообщество
[-- Attachment #1: Type: text/plain, Size: 3655 bytes --]
Здравствуйте!
Решил я у себя настроить внутреннюю подсетку с DNS
чтобы пользователи имена получали вместе в ip-адресами
погуглил и набрел на архив debian-russian http://lists.debian.org/debian-russian/2003/debian-russian-200301/msg00110.html
сделал как там написано, вроде получилось.
Но не все.
Итак, по порядку
сервер
Мастер 2.0
dhcp-3.0.1-alt0.8.1
bind-8.3.3-alt1.1
------------------------------------------------
/var/lib/named/etc/local.conf
#localhost & localdomain skipped
zone "soc.ru" {
notify no;
type master;
file "soc.ru";
allow-query { 127.0.0.1 192.168.0.0/255.255.255.0; };
allow-update { 127.0.0.1; };
};
zone "0.168.192.in-addr.arpa" {
notify no;
type master;
file "0.168.192.in-addr.arpa";
allow-query { 127.0.0.1 192.168.0.0/255.255.255.0; };
allow-update { 127.0.0.1; };
};
------------------------------------------------
/var/lib/named/zone/soc.ru
$TTL 1D
@ IN SOA soc.ru. root.soc.ru. (
2003071603 ; serial
12H ; refresh
1H ; retry
1W ; expire
1D ; minimum TTL
)
IN NS mx.soc.ru.
mx IN A 192.168.0.1
ltsp IN A 192.168.0.2
------------------------------------------------
/var/lib/named/zone/0.168.192.in-addr.arpa
$TTL 1D
@ IN SOA soc.ru. root.soc.ru. (
2003071604 ; serial
12H ; refresh
1H ; retry
1W ; expire
1D ; minimum TTL
)
IN NS mx.soc.ru.
1 IN PTR mx.soc.ru.
2 IN PTR ltsp.soc.ru.
------------------------------------------------
/etc/sysconfig/dhcpd
ddns-updates on;
use-host-decl-names on;
ddns-update-style interim;
zone soc.ru. {
primary 127.0.0.1;
}
zone 0.168.192.in-addr.arpa {
primary 127.0.0.1;
}
authoritative;
subnet 192.168.0.0 netmask 255.255.255.0 {
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
range 192.168.0.51 192.168.0.250;
option domain-name-servers 192.168.0.1;
option time-offset 6; # Eastern Standard Time
default-lease-time 21600;
max-lease-time 43200;
# we want the nameserver to appear at a fixed address
ddns-hostname = pick (option fqdn.hostname, option host-name,concat ("dhcp-",binary-to-ascii (10, 8, "-", leased-address)));
option host-name = config-option server.ddns-hostname;
ddns-domainname "soc.ru";
ddns-rev-domainname "0.168.192.in-addr.arpa";
}
------------------------------------------------
Хост грузится, получает ip и hostname (кстати, клиент на М2.2 не передает свой hostname,
поэтому получает от dhcpd в ответ hostname вида dhcp-192-168-0-208, о чем упоминалос в debian-russian)
но в DNS не регистрируется!!!
host dhcp-192-168-0-208 не рабоатет
host dhcp-192-168-0-208.soc.ru тоже не работает
при этом host ltsp исправно выдает 192.168.0.2
может эта версия bind не поддерживает ddns?
В ожидании наискорейшего ответа от уважаемых гуру...
--
Дискуссия протекала культурно, с упоминанием наиболее прославленных
в народе атрибутов богов плодородия.
[-- Attachment #2: Type: application/pgp-signature, Size: 307 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] ddns question to knowers
2003-07-16 16:14 [Comm] ddns question to knowers Maxim.Savrilov
@ 2003-07-17 3:58 ` Mike Lykov
0 siblings, 0 replies; 2+ messages in thread
From: Mike Lykov @ 2003-07-17 3:58 UTC (permalink / raw)
To: community
В сообщении от Среда 16 Июль 2003 21:14 Maxim.Savrilov@socenter.ru написал:
> Мастер 2.0
> dhcp-3.0.1-alt0.8.1
> bind-8.3.3-alt1.1
> может эта версия bind не поддерживает ddns?
точно не скажу, может, но лучше обновить эту версию до 9.2 ?
--
Mike
registered linux user #315334
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-07-17 3:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-16 16:14 [Comm] ddns question to knowers Maxim.Savrilov
2003-07-17 3:58 ` Mike Lykov
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