ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] systemd-networkd dns configuration
@ 2015-09-02  8:00 Eugene Prokopiev
  2015-09-02  8:57 ` Eugene Prokopiev
  2015-09-02 13:17 ` Денис Смирнов
  0 siblings, 2 replies; 11+ messages in thread
From: Eugene Prokopiev @ 2015-09-02  8:00 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

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

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

# 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

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

end of thread, other threads:[~2015-09-03 12:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-02  8:00 [sisyphus] systemd-networkd dns configuration Eugene Prokopiev
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

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