ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitry Lebkov <dima@sakhalin.ru>
To: community@altlinux.ru
Subject: Re: [Comm] /usr/bin/host and /etc/hosts
Date: Thu, 11 Nov 2004 18:26:09 +1000
Message-ID: <20041111182609.3db53f00.dima@sakhalin.ru> (raw)
In-Reply-To: <20041111141205.44087761.Maxim.Savrilov@socenter.ru>

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.

> даже по strace смотрел, не лезет он туда и все
> На машинке стоит соотвествующий bind кэширующий и с внутренней зоной.
> 
> в /etc/host.conf стоит
> order hosts, bind
> multi on
> 
> прописываю машины в /etc/hosts - 0 внимания, туда просто программа не лезет
> 
> 
> Ктовиноват и Чтоделать?

Виноватых нет, а "Чтоделать" зависит от того, что хочется получить.

--
WBR, Dmitry Lebkov


  parent reply	other threads:[~2004-11-11  8:26 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 [this message]
2004-11-11  8:43   ` Maxim.Savrilov
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=20041111182609.3db53f00.dima@sakhalin.ru \
    --to=dima@sakhalin.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