ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Mikhail Efremov <sem@altlinux.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] Как жить с openresolv?
Date: Mon, 13 Jul 2009 20:40:18 +0400
Message-ID: <20090713204018.44b8417a@sem.localdomain> (raw)
In-Reply-To: <4A5A5BB1.9000106@sakhalin.ru>

Hello, Dmitry!
On Mon, 13 Jul 2009 08:54:57 +1100 you wrote:
> > нельзя ли сделать так, что бы то, что я прописываю
> > в /etc/resolv.conf оставалось там навсегда, без дурной логики
> > openresolv'а ?
> 
> Для "всегда" достаточно в /etc/resolvconf.conf дописать:
> 
> name_servers=ip.of.your.dns
> search_domains="domain1.tld domain2.tld"
> 
> и выполнить resolvcon -u.

Это далеко не лучший вариант. Потому что это тупая подстановка, при
использовании bind'a или dnsmasq эта информация передана им не будет.
Лучше добавлять nameservers от имении конкретного интерфейса, положив
соответствующий resolv.conf в /etc/net/options/<interface>. Приоритеты
интерфейсов можно настроить в resolvconf.conf.

-- 
WBR, Mikhail Efremov


  parent reply	other threads:[~2009-07-13 16:40 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-12 17:05 Andrey Rahmatullin
2009-07-12 18:05 ` Ivan Adzhubey
2009-07-12 21:10   ` Anton Farygin
2009-07-12 21:54     ` Dmitry Lebkov
2009-07-13  4:15       ` Max Ivanov
2009-07-13 16:40       ` Mikhail Efremov [this message]
2009-07-13  5:15     ` Sergey
2009-07-13  5:25       ` Andrey Rahmatullin
2009-07-13 16:23 ` Mikhail Efremov
2009-07-13 17:17   ` Vyatcheslav Perevalov
2009-07-13 18:01     ` Mikhail Efremov
2009-07-13 17:24   ` Andrey Rahmatullin
2009-07-13 18:18     ` Mikhail Efremov
2009-07-13 20:02       ` Andrey Rahmatullin
2009-07-13 21:16         ` Mikhail Efremov
2009-07-13 21:22           ` Andrey Rahmatullin
2009-07-14 19:08             ` Mikhail Efremov
2009-07-14 19:16               ` Andrey Rahmatullin
2009-07-14  5:37           ` Afanasov Dmitry
2009-07-14 19:12             ` Mikhail Efremov
2009-07-14 19:15               ` Andrey Rahmatullin
2009-07-15  4:52               ` Sergey
2009-07-15  7:55                 ` Ivan Fedorov
2009-07-15  8:33                   ` Ivan A. Melnikov
2009-07-15  9:05                     ` Ivan Fedorov
2009-07-15 10:48                     ` Mikhail Efremov
2009-07-15 12:54                 ` Sergey
2009-07-15 10:51       ` Mikhail Efremov
2009-07-17 12:05         ` Aelya Grevnyov

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=20090713204018.44b8417a@sem.localdomain \
    --to=sem@altlinux.ru \
    --cc=sisyphus@lists.altlinux.org \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git