From: "Aleksey Avdeev" <solo@kengu.ru> To: community@altlinux.ru Subject: Re: [Comm] dhcpcd и DHCP + DNS от MS: имя Linux машины не регистрируется в DNS. Date: Wed, 08 Oct 2003 11:56:19 +0400 Message-ID: <3F83C322.2020201@kengu.ru> (raw) In-Reply-To: <20031008103503.20e1e1a9.Maxim.Savrilov@socenter.ru> Maxim.Savrilov@socenter.ru пишет: > On Tue, 07 Oct 2003 17:31:57 +0400 > "Aleksey Avdeev" <solo@kengu.ru> 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 -- С уважением. Алексей.
next prev parent reply other threads:[~2003-10-08 7:56 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-10-03 13:57 Aleksey Avdeev 2003-10-06 7:35 ` Maxim.Savrilov 2003-10-06 10:51 ` Aleksey Avdeev 2003-10-07 13:31 ` Aleksey Avdeev 2003-10-08 3:35 ` Maxim.Savrilov 2003-10-08 7:56 ` Aleksey Avdeev [this message] 2003-10-08 8:11 ` Maxim.Savrilov 2003-10-13 9:53 ` Aleksey Avdeev
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=3F83C322.2020201@kengu.ru \ --to=solo@kengu.ru \ --cc=community@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 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