ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Anton Gorlov <stalker@altlinux.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] resolvconf
Date: Fri, 27 Feb 2015 14:57:04 +0300
Message-ID: <54F05B90.8070004@altlinux.ru> (raw)
In-Reply-To: <20150227133244.2f6ff606@sem-notebook>

27.02.2015 13:32, Mikhail Efremov пишет:
> И не должен при наличии локального сервера. Должны генериться конфиги
> для него соответствующим subscriber-скриптом. Какой сервер используется?
> Хотя можно включить добавление других ns в resolv.conf (см.
> resolv_conf_local_only в resolvconf.conf(5)), конечно. Но я не вижу в
> этом особого смысла при наличии кэширующего DNS-сервера.

По ряду причин ме именно подменять существующий DNS в  resolv.conf надо.
Сейчас до дома доберусь поиграюсь с resolv_conf_local_only


То есть мне нужно что бы при старте сиcтемы в resolv.conf был 127.0.0.1
при поднятии tun0  что бы прописывался dns за vpn
при опускании vpn опять 127.0.0.1


  reply	other threads:[~2015-02-27 11:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-26 20:07 Anton Gorlov
2015-02-26 23:32 ` Mikhail Efremov
2015-02-27  8:31   ` Anton Gorlov
2015-02-27 10:32     ` Mikhail Efremov
2015-02-27 11:57       ` Anton Gorlov [this message]
2015-02-27 12:11         ` Mikhail Efremov
2015-02-27 12:44           ` Anton Gorlov
2015-02-27 15:29             ` Mikhail Efremov
2015-02-27 20:33               ` Anton Gorlov
2015-02-28 13:09                 ` Anton Gorlov

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=54F05B90.8070004@altlinux.ru \
    --to=stalker@altlinux.ru \
    --cc=community@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 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