ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] resolvconf
@ 2015-02-26 20:07 Anton Gorlov
  2015-02-26 23:32 ` Mikhail Efremov
  0 siblings, 1 reply; 10+ messages in thread
From: Anton Gorlov @ 2015-02-26 20:07 UTC (permalink / raw)
  To: ALT Linux Community

All - а как наш resolvconf правильно готовить?


echo -n "nameserver 10.10.0.15" | /sbin/resolvconf  -a tun0

cat /etc/resolv.conf
# Generated by resolvconf
# Do not edit manually, use
# /etc/net/ifaces/<interface>/resolv.conf instead.
nameserver 127.0.0.1


127.0.0.01 -  это /etc/net/ifaces/ppp1/resolv.conf  поднимаемый при старте

tun0 это openvpn  который поднимается в ручную при необходимости и вот
пытался через vpn менять DNS

на момент вызывания resolvconf (руками) tun0 уже существует и живой


ip a l tun0
15: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc
fq_codel state UNKNOWN qlen 100
    link/none
    inet 10.0.10.37 peer 10.0.10.2/32 scope global tun0
       valid_lft forever preferred_lft forever


настраивать openvpn через etcnet не предлагать


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-02-28 13:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-26 20:07 [Comm] resolvconf 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
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

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