ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Ruslan N. Balkin" <baron@dartel.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Re: IP - как разрешаются?
Date: Sun, 20 Oct 2002 21:34:37 +0400
Message-ID: <20021020213437.02f18246.baron@dartel.ru> (raw)
In-Reply-To: <3DB2A7FE.4040409@mtu-net.ru>

[-- Attachment #1: Type: text/plain, Size: 1358 bytes --]

On Sun, 20 Oct 2002 16:56:30 +0400
Oleg wrote:

> >Если пользоваться >1 провайдера, а особенно, если пользоваться к.-л.
> >интранетом, то их DNS серверы также оставались в /etc/resolv.conf
> >
>     Да разными провайдерами пользуюсь. "Дневным" и "ночным" - порознь.
> Так что,  /etc/resolv.conf желательно регулярно чистить?

А напишите скрипт по крону - типа:
grep -v temp /etc/resolv.conf >/tmp/cool.resolv.conf
cat /tmp/cool.resolv.conf >/etc/resolv.conf
А нужные NS оставить без комментариев

> 
> >Может быть, в /etc/resolv.conf нерабочий DNS-сервер?
> >
>     Больше всего меня там удивляет  поле nameserver, с локальным адресом.
> При том, что у меня никаких DNS-серверов локально не стоит.
> Остальные адреса - от pppd и kppp (temp entry).
Возможно, в этом и причина - что нет локального NS. Поставьте bind-caching-nameserver
и радуйтесь жизни. Хотя я и без этого живу, самые большие трудности - при работе в
интрасети - сначала некоторое время адреса не резолвятся, а потом, как я понимаю,
где-то запоминаются, и все чудесно работает.
> Но ведь временами-то и ping и traceroute нормально работают...
Видимо, уже отресолвенный IP-адрес запоминается где-то. По меньшей мере, в браузерах
средствами браузеров, а в ping и traceroute, наверное, на уровне ядра. Но это лишь
предположение.


-- 
С уважением,
Балькин Руслан.

[-- Attachment #2: For security, this message has been digitally signed. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2002-10-20 17:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-20 11:04 [Comm] " Oleg N. Kayunov
2002-10-20 11:19 ` Ruslan N. Balkin
2002-10-20 11:22 ` Ruslan N. Balkin
2002-10-20 12:56   ` [Comm] " Oleg N. Kayunov
2002-10-20 17:34     ` Ruslan N. Balkin [this message]

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=20021020213437.02f18246.baron@dartel.ru \
    --to=baron@dartel.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