From: Maxim.Savrilov@socenter.ru
To: community@altlinux.ru
Subject: Re: [Comm] /usr/bin/host and /etc/hosts
Date: Thu, 11 Nov 2004 14:43:27 +0600
Message-ID: <20041111144327.496cf9c4.Maxim.Savrilov@socenter.ru> (raw)
In-Reply-To: <20041111182609.3db53f00.dima@sakhalin.ru>
[-- Attachment #1: Type: text/plain, Size: 1263 bytes --]
Что это за стандартные функции и что это за стандарты,
которые стандартный для большинства (имхо) сервер DNS
игнорирует?
Хочется получить ту же функциональность, что обеспечивал nslookup
более старых версий. Захотел, занес в hosts, захотел - в конфиг bind, и все видно.
у меня ddns, и если вот так руками в файл зоны залезть, то что-то там рушится,
журнал не обновляется, что ли, забыл уже. Короче, табу.
а бездисковые клиенты информацию о себе в dns не обновляют, вот и требуется или
1. В hosts прописывать или
2. разобраться с bind+dhcpd или
3. поправить где-то в initrd от ltsp, чтобы он вел себя корректно в этом плане
попробовал самое простое, а вона как вышло.
On Thu, 11 Nov 2004 18:26:09 +1000
Dmitry Lebkov <dima@sakhalin.ru> wrote:
> On Thu, 11 Nov 2004 14:12:05 +0600
> Maxim.Savrilov@socenter.ru wrote:
>
> > Здравствуйте!
> >
> >
> > Подскажите, почему host из bind-utils-9.2.2.rel-alt1
> > не смотрит в /etc/hosts?
>
> Потому что это утиль из пакета BIND и предназначена для работы
> только ДНС (это так, на пальцах рассказал %), т.е. использует
> свою библиотеку работы с ДНС, не завязываясь на стандартные
> функции типа gethostbyname.
>
--
Элементарные действия должны выполняться элементарно.
[-- Attachment #2: Type: application/pgp-signature, Size: 307 bytes --]
next prev parent reply other threads:[~2004-11-11 8:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-11 8:12 Maxim.Savrilov
2004-11-11 8:15 ` Genix
2004-11-11 8:49 ` Alexey I. Froloff
2004-11-11 8:26 ` Dmitry Lebkov
2004-11-11 8:43 ` Maxim.Savrilov [this message]
2004-11-11 11:06 ` [Comm] " Michael Shigorin
2004-11-11 14:56 ` [Comm] " Dmitry Lebkov
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=20041111144327.496cf9c4.Maxim.Savrilov@socenter.ru \
--to=maxim.savrilov@socenter.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