ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Eugene Prokopiev <enp@altlinux.org>
To: ALT Linux Sisyphus discussions <Sisyphus@lists.altlinux.org>
Subject: [sisyphus] systemd-networkd dns configuration
Date: Wed, 2 Sep 2015 11:00:55 +0300
Message-ID: <CANM4RuiQirdxRPu1M=uDF2Ek1FPN3Zk7jRmdUthVnB-o2frVWg@mail.gmail.com> (raw)

Здравствуйте!

На свежем сизифе имею такую сетевую конфигурацию:

# cat /etc/systemd/network/trunk.network
[Match]
Name=enp4s0
[Network]
VLAN=enp4s0.791

# cat /etc/systemd/network/tx.netdev
[NetDev]
Name=enp4s0.791
Kind=vlan
[VLAN]
Id=791

# cat /etc/systemd/network/tx.network
[Match]
Name=enp4s0.791
[Network]
DNS=10.7.0.2
Domains=tx.local
Address=10.7.1.13/24
Gateway=10.7.1.1

Она успешно применена:

# networkctl status
●      State: routable
     Address: 10.7.1.13 on enp4s0.791
     Gateway: 10.7.1.1 (CISCO SYSTEMS, INC.) on enp4s0.791
         DNS: 10.7.0.2
      Domain: tx.local

Но в resolv.conf при этом какая-то ерунда:

# cat /etc/resolv.conf
# Generated by resolvconf
# Do not edit manually, use
# /etc/net/ifaces/<interface>/resolv.conf instead.
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 2001:4860:4860::8888
nameserver 2001:4860:4860::8844

Как исправить?

-- 
WBR,
Eugene Prokopiev

             reply	other threads:[~2015-09-02  8:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-02  8:00 Eugene Prokopiev [this message]
2015-09-02  8:57 ` Eugene Prokopiev
2015-09-02 13:02     ` Eugene Prokopiev
2015-09-02 13:20       ` Денис Смирнов
2015-09-02 13:33         ` Eugene Prokopiev
2015-09-03  5:29       ` Eugene Prokopiev
2015-09-02 17:07     ` Mikhail Efremov
2015-09-02 13:17 ` Денис Смирнов
2015-09-03  5:26   ` Sergey
2015-09-03  5:42     ` Eugene Prokopiev
2015-09-03 12:00       ` 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='CANM4RuiQirdxRPu1M=uDF2Ek1FPN3Zk7jRmdUthVnB-o2frVWg@mail.gmail.com' \
    --to=enp@altlinux.org \
    --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