From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <3F83C322.2020201@kengu.ru> Date: Wed, 08 Oct 2003 11:56:19 +0400 From: "Aleksey Avdeev" User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.4) Gecko/20030710 X-Accept-Language: ru, ru-ru, be, uk, en-us, en MIME-Version: 1.0 To: community@altlinux.ru Subject: Re: [Comm] dhcpcd =?KOI8-R?Q?=C9_DHCP_+_DNS_=CF=D4_MS=3A?= =?KOI8-R?Q?_=C9=CD=D1_Linux_=CD=C1=DB=C9=CE=D9_=CE=C5_=D2=C5=C7?= =?KOI8-R?Q?=C9=D3=D4=D2=C9=D2=D5=C5=D4=D3=D1_=D7_DNS=2E?= References: <3F7D8036.10507@kengu.ru> <20031006143539.499a40e6.Maxim.Savrilov@socenter.ru> <3F814946.4080008@kengu.ru> <3F82C04D.7010004@kengu.ru> <20031008103503.20e1e1a9.Maxim.Savrilov@socenter.ru> In-Reply-To: <20031008103503.20e1e1a9.Maxim.Savrilov@socenter.ru> X-Enigmail-Version: 0.76.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 08 Oct 2003 07:56:16.0261 (UTC) FILETIME=[A69CA350:01C38D71] X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.2 Precedence: list Reply-To: community@altlinux.ru List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2003 07:52:34 -0000 Archived-At: List-Archive: List-Post: Maxim.Savrilov@socenter.ru пишет: > On Tue, 07 Oct 2003 17:31:57 +0400 > "Aleksey Avdeev" wrote: > > >> В "man dhclient.conf" есть раздел "DYNAMIC DNS", но я его >>непонял. :-( Данный код не помог: >> >>interface "eth0" { >> send host-name "w_1.ipe.ru"; >> send fqdn.fqdn "w_1.ipe.ru."; >> send fqdn.encoded on; >> send fqdn.server-update off; >>} >> >> Возможно, стоит поиграть параметрами (или я вообще не туда капаю). > > > а сколько dhcp клиентов у вас стоит? 2: dhcpcd и dhclient > они там вызываются из списка и не факт, что вызовется dhclient > при наличии другого клиента В /etc/sysconfig/network-scripts/ifcfg-eth0 задал "DHCP_CLIENT=/sbin/dhclient", Отладочная печать (добавленая в /sbin/ifup) и "ps -ax|grep dhclient" подтверждают запуск dhclient. > повторюсь, у меня стоит вот так > >>interface "eth0" { >> send host-name "w_1"; >>} У меня, данная конструкция не работает (проверял). :-( > > руками запускали? Запускал (при отключении локального bind): [solo_adm@w_1 solo_adm]$ sudo killall dhclient [solo_adm@w_1 solo_adm]$ sudo dhclient eth0 Internet Software Consortium DHCP Client V3.0.1rc11 Copyright 1995-2002 Internet Software Consortium. All rights reserved. For info, please visit http://www.isc.org/products/DHCP Listening on LPF/eth0/00:00:21:03:8b:ac Sending on LPF/eth0/00:00:21:03:8b:ac Sending on Socket/fallback DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPACK from 192.168.102.3 bound to 192.168.102.21 -- renewal in 327437 seconds. [solo_adm@w_1 solo_adm]$ nslookup w_1 Note: nslookup is deprecated and may be removed from future releases. Consider using the `dig' or `host' programs instead. Run nslookup with the `-sil[ent]' option to prevent this message from appearing. Server: 192.168.102.3 Address: 192.168.102.3#53 ** server can't find w_1: SERVFAIL -- С уважением. Алексей.