ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Maxim Tyurin <mrkooll@bungarus.info>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Локальный DNS и DHCP
Date: Fri, 18 Apr 2008 10:56:07 +0300
Message-ID: <m363ufwq94.fsf@bungarus.tdr.pibhe.com> (raw)
In-Reply-To: <9909dee80804172332v78e22698v9e7f6111b5fbae34@mail.gmail.com> (Eugine Kosenko's message of "Fri\, 18 Apr 2008 09\:32\:45 +0300")

Eugine Kosenko writes:

> По делу понадобилось поднять локальный DNS, даже не кэш, а просто
> разруливать ряд локальных записей, чтобы не засорять hosts. Прописал
> nameserver в resolv.conf, некоторое время работает.
>
> Однако, resolv.conf периодически перезаписывается при рестарте dhcpcd,
> который прописывает туда только DNS моего провайдера. В документации
> сказано, что с ключом -R не перезаписывает resolv.conf, так что, это
> могло бы стать решением. Попробовал добавить этот ключ в
> /etc/net/options.d/50-ALTLinux-server, но при рестарте сети это
> воспринимается как неправильная команда и вообще не работает.
>
> Вопрос: как это идеологически правильно (ну пусть не идеологически,
> лишь бы работало) сделать в ALT?

Уже давным давно делаю 
chattr +i /etc/resolv.conf
может и идеологически неправильно, но всегда работает.
-- 

With Best Regards, Maxim Tyurin
JID:	MrKooll@jabber.pibhe.com
   ___                                 
  / _ )__ _____  ___ ____ _______ _____
 / _  / // / _ \/ _ `/ _ `/ __/ // (_-<
/____/\_,_/_//_/\_, /\_,_/_/  \_,_/___/
               /___/  


  reply	other threads:[~2008-04-18  7:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-18  6:32 Eugine Kosenko
2008-04-18  7:56 ` Maxim Tyurin [this message]
2008-04-18  7:58 ` Alexander Volkov

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=m363ufwq94.fsf@bungarus.tdr.pibhe.com \
    --to=mrkooll@bungarus.info \
    --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