ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] DHCP и DDNS
@ 2002-10-31 12:14 Andrei M. Laptev
  2002-11-01  1:35 ` Oleg Sukhanov
  2002-11-01  6:50 `  YuriY V. Skvortsov 
  0 siblings, 2 replies; 7+ messages in thread
From: Andrei M. Laptev @ 2002-10-31 12:14 UTC (permalink / raw)
  To: community

Здравствуйте.
Прочитав недавний тред про необходимость DHCP, вспомнил что уже давно собираюсь 
спросить об особенностях работы связки DHCP и BIND. Я тут на днях почитал man 
про dhcpd.conf и вобщем то сделал работающий DDNS, но столкнулся со следующей 
проблемой: в случае когда dhcp раздает адреса из заданного диапазона, то все 
классно работает, dhcpd выдает адрес клиенту, и добовляет/обновляет записи в
DNS, но в случае когда в dhcp выдает фиксированные адреса клиентам в соответствии
с их MAC-адресами, то никаких обновлений не происходит. После нескольких попыток
у меня не получилось заставить dhcp обновлять записи для таких MAC-привязанных
клиентов. 
Соответственно вопрос: работает ли такая конфигурация и если работает на что
еще обратить внимание ?

А теперь выдержки из конфигов:

#cat dhcpd.conf
option interface-mtu 1500;
ddns-update-style interim;
subnet 192.168.1.0 netmask 255.255.255.0 {
    option domain-name          "my.lan";
    option domain-name-servers  192.168.1.1, 192.168.2.1;
    option netbios-name-servers 192.168.1.1, 192.168.2.1;
    option routers 192.168.1.1;
    option subnet-mask 255.255.255.0;
    server-identifier 192.168.1.1;
    ddns-updates on;
    ddns-domainname "my.lan";
    ddns-rev-domainname "in-addr.arpa";
    default-lease-time 250000;
    max-lease-time 432000;
    range 192.168.1.100 192.168.1.199;
    key DHCP_UPDATER {
       algorithm HMAC-MD5.SIG-ALG.REG.INT;
       secret aFIftW3aLJrj1DBms+lnGA==;
    }

    zone my.lan. {
               primary 127.0.0.1;
               key DHCP_UPDATER;
    }

    zone 1.168.192.in_addr.arpa. {
        primary 127.0.0.1;
        key DHCP_UPDATER;
    }
                
    host host1 {
                hardware ethernet 00:04:76:E9:96:1E;
                fixed-address 192.168.1.10;
    }
}
#end of dhcpd.conf

#cat named.conf
options {
        directory "/zone";
};
zone "." {
        type hint;
        file "root";
};
key DHCP_UPDATER {
        algorithm HMAC-MD5.SIG-ALG.REG.INT;
        secret aFIftW3aLJrj1DBms+lnGA==; 
};
include "/etc/local.conf";
include "/etc/bind.conf";
include "/etc/my.lan.conf";
#end of named.conf

-- 
С уважением,
Лаптев Андрей


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-11-01 10:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-31 12:14 [Comm] DHCP и DDNS Andrei M. Laptev
2002-11-01  1:35 ` Oleg Sukhanov
2002-11-01  6:50 `  YuriY V. Skvortsov 
2002-11-01  7:11   ` [Comm] Re[2]: " ASA
2002-11-01  7:43     `  YuriY V. Skvortsov 
2002-11-01 10:14     ` Andrei M. Laptev
2002-11-01 10:32       ` Alexander Bokovoy

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