ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: REAL <real@kemsu.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Кентавр 7.0.3 после systemctl restart network.service не резолвятся DNS запросы
Date: Fri, 07 Feb 2014 09:48:51 +0700
Message-ID: <52F44993.7050109@kemsu.ru> (raw)
In-Reply-To: <20140206182354.00fada79@sem.office.altlinux.ru>

06.02.2014 21:23, Mikhail Efremov пишет:
> Прописывать что-то кроме 127.0.0.1 в resolv.conf для lo довольно
> странная идея. Зачем он там, а не в resolv.conf для того интерфейса,
> через который реально можно ходить к этому DNS?

Я пробовал всюду DNS'ы пихать. не помогает. Был уже разговор об этом, 
правда, не помню, в этой ли рассылке. Помогает прямое прописывание в 
/etc/resolv.conf и chattr +i /etc/resolv.conf.

>> Его resolvconf -l показывает. А вот в
>> /etc/resolv.conf его нет.
>
> Это нормально. С некоторых пор при наличии 127.0.0.1 в /etc/resolv.conf
> больше ничего не добавляется. Что правильно, зачем там другие сервера
> если есть локальный. Но при желании можно включить старое поведение,
> см. опцию resolv_conf_local_only в resolvconf.conf(5).

Спасибо, гляну.

> Кстати, откуда тогда приезжает 127.0.0.1, если не
> из /etc/net/ifaces/lo/resolv.conf?

Из resolv.conf для eth интерфейса (как-то он сейчас коряво называется, 
enpчтототам).

-- 

REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ



  reply	other threads:[~2014-02-07  2:48 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-04  8:56 Alexander Vasiliev
2014-02-04 10:41 ` Андрій Добровольський
2014-02-04 10:53   ` Alexander Vasiliev
2014-02-04 10:58     ` Андрій Добровольський
2014-02-04 11:59       ` Alexander Vasiliev
2014-02-04 12:23     ` Mikhail Efremov
2014-02-04 12:57       ` Alexander Vasiliev
2014-02-05  2:40       ` REAL
2014-02-05  9:09         ` Mikhail Efremov
2014-02-05  9:13           ` REAL
2014-02-05  9:22             ` Mikhail Efremov
2014-02-06  2:05               ` REAL
2014-02-06 10:10                 ` Mikhail Efremov
2014-02-06 10:13                   ` REAL
2014-02-06 14:23                     ` Mikhail Efremov
2014-02-07  2:48                       ` REAL [this message]
2014-02-07 16:25                         ` 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=52F44993.7050109@kemsu.ru \
    --to=real@kemsu.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