ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Pavel Vainerman <pv@etersoft.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: [devel] Динамическое добавление записей DNS
Date: Sat, 21 Jul 2018 12:11:33 +0300
Message-ID: <8463e4c3-ed61-d42f-eadc-14e30cfd153c@etersoft.ru> (raw)

Добрый день всем.

Скажите пожалуйста. У нас есть какая-то "штатная ручка" под добавлению
записи nameserver (DNS) в /etc/resolv.conf ?

А сейчас получается непонятно кто именно его изменяет.
Есть etcnet, есть systemd-networkd (systemd-resolved),
есть openresolv (altlinux-openresolv.service)

Но etcnet и systemd-networkd (не знаю как насчёт altlinux-openresolv)
они в плане настройки статичные. Т.е. внесли настройки, рестартанули и
получили запись. А в идеале хочется динамически, чтобы некий сервис при
своём старте мог добавить DNS, при "завершении" удалить.

Есть у нас что-то подобное?

P.S. Пробовал resolvconf -a ..  но что-то он не срабатывал
(возможно я как-то не так вызываю).

-- 
Pavel Vainerman
www.etersoft.ru


             reply	other threads:[~2018-07-21  9:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-21  9:11 Pavel Vainerman [this message]
2018-07-21 11:04 ` Pavel Vainerman

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=8463e4c3-ed61-d42f-eadc-14e30cfd153c@etersoft.ru \
    --to=pv@etersoft.ru \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git