ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Bind: Прекращение прослушивания внешнего интерфейса после временного его исчезновения.
Date: Thu, 20 Sep 2007 13:04:30 +0400
Message-ID: <20070920090430.GC17715@basalt.office.altlinux.org> (raw)
In-Reply-To: <46F2160A.8050501@diyaorg.dp.ua>

[-- Attachment #1: Type: text/plain, Size: 1411 bytes --]

On Thu, Sep 20, 2007 at 09:41:14AM +0300, Roman Savochenko wrote:
> Приветствую Всех
> 
> Имеется Bind (bind-9.2.4.rc5-alt1) на ALT 2.4, который обслуживает все 
> интерфейсы на сервере.
> Сервер имеет широкий канал через ADSL, который перманентно откидывается, 
> но восстанавливается в течении 10 попыток, за счёт опций pppd: persist и 
> maxfail 10.
> Однако за время восстановления, bind прекращает слушать этот интерфейс и 
> не может возобновить, хотя интерфейс уже успешно поднялся:
[...]
> Как же быть в этой ситуации? Перезапускать bind руками уже достало.

У bind есть параметр interface-interval для управления поведением в такой ситуации.

$ grep -rwl interface-interval /usr/share/doc/bind-*/arm/ |xargs -rn1 links -dump |sed -n '/^[[:space:]]*interface-interval/,/^[[:space:]]*[a-z-]\+$/p'
   interface-interval

           The server will scan the network interface list every
           interface-interval minutes. The default is 60 minutes. The maximum
           value is 28 days (40320 minutes). If set to 0, interface scanning
           will only occur when the configuration file is loaded. After the
           scan, the server will begin listening for queries on any newly
           discovered interfaces (provided they are allowed by the listen-on
           configuration), and will stop listening on interfaces that have
           gone away.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2007-09-20  9:04 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-20  6:41 Roman Savochenko
2007-09-20  7:15 ` Sergey
2007-09-20  7:28   ` Roman Savochenko
2007-09-20  7:31     ` Peter V. Saveliev
2007-09-20  7:34       ` Roman Savochenko
2007-09-20  7:48         ` Peter V. Saveliev
2007-09-20  7:51           ` Roman Savochenko
2007-09-20  7:30   ` Peter V. Saveliev
2007-09-20  7:49     ` Roman Savochenko
2007-09-20  7:53       ` Peter V. Saveliev
2007-09-20  8:04         ` Roman Savochenko
2007-09-20  8:08           ` Peter V. Saveliev
2007-09-20  9:04 ` Dmitry V. Levin [this message]
2007-09-20  9:30   ` Roman Savochenko
2007-09-20 14:55 ` Aleksey Avdeev

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=20070920090430.GC17715@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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