ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vladimir Karpinsky <vkarpinsky@mail.ru>
To: community@lists.altlinux.org
Subject: [Comm] rp6 -> p7. Проблема с resolv.conf
Date: Sun, 18 Aug 2013 00:36:46 +0400
Message-ID: <520FDEDE.6050406@mail.ru> (raw)

Поймал ещё одну бяку:

После старта (или reload) сети в /etc/resolv.conf попадает правльные domain 
и search, а nameserver только 127.0.0.1. В то время, как 
/etc/net/ifaces/breth0/resolv.conf содержит правильную информацию.

# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
     inet 127.0.0.1/8 scope host lo
     inet6 ::1/128 scope host
        valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master 
breth0 state UP qlen 1000
     link/ether 00:11:2f:c6:4f:a4 brd ff:ff:ff:ff:ff:ff
     inet6 YYY::YYY:YYYY:YYYY:YYYY/YY scope link
        valid_lft forever preferred_lft forever
4: tun0: <POINTOPOINT,MULTICAST,NOARP> mtu 1500 qdisc pfifo_fast state DOWN 
qlen 100
     link/none
     inet 10.8.0.1 peer 10.8.0.2/32 scope global tun0
12: breth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
     link/ether 00:11:2f:c6:4f:a4 brd ff:ff:ff:ff:ff:ff
     inet XXX.XXX.XXX.XXX/XX scope global breth0
     inet6 YYY::YYY:YYYY:YYYY:YYYY/YY scope link
        valid_lft forever preferred_lft forever

Как понять откуда берётся неправильный resolv.conf и исправить это?

-- 
	С уважением,
		Владимир.


             reply	other threads:[~2013-08-17 20:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-17 20:36 Vladimir Karpinsky [this message]
2013-08-17 20:41 ` Vladimir Karpinsky
2013-08-17 21:04 ` Vladimir Karpinsky
2013-08-19 13:15   ` Mikhail Efremov
2013-08-19 15:44     ` Vladimir Karpinsky
2013-08-19 16:17       ` Mikhail Efremov
2013-08-19 16:59         ` Vladimir Karpinsky
2013-08-19 18:32         ` Mike Lykov
2013-08-19 21:49           ` Mikhail Efremov

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=520FDEDE.6050406@mail.ru \
    --to=vkarpinsky@mail.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