ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sergei Epiphanov <serpiph@nikiet.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] настройка bind
Date: Thu, 07 Feb 2013 08:55:08 +0400
Message-ID: <2929706.nRL08mDXZd@epiphanov.bkpi82.nikiet.ru> (raw)
In-Reply-To: <5112B51F.6020107@gmail.com>

On 6 февраля 2013 21:55 andriy wrote:
> Здравствуйте!
> Посоветуйте где почитать как настроить bind (авторитетный DNS) в ALT.
> Не могу разобраться какие файлы читает named-checkconf... вроде правки в
> файлы в /var/lib/bind вношу, а dig и другими средствами их не видит.
> Тоесть не совсем понимаю особенности chroot'а.
> Спасибо.

У меня на сервере bind в каталоге /var/lib/bind/etc:

1. В named.conf:
include "/etc/options.conf";
include "/etc/lwres.conf";
include "/etc/rndc.conf";
include "/etc/local.conf";
include "/etc/zone.conf";

2. В options.conf (помимо других):
options {
  listen-on { IP-адреса; };
  forwarders { сервер провайдера; };
  allow-query { доверенные компьютеры; };
};

3. В zone.conf:
zone "домен" {
        type master;
        file "файл";
        allow-update { none; };
};

zone "обратный_домен.in-addr.arpa" {
        type master;
        file "файл.in-addr.arpa";
        allow-update { none; };
};

Остальные файлы стандартные.

В /var/lib/bind/zone/ в указанных файлах расписаны домены.

На обычной машине вписано в /etc/resolv.conf:

search домен
nameserver IP-адрес_сервера_домена

Кстати, для полной проверки можно полностью перезапустить bind.

-- 
С уважением, Епифанов Сергей

  reply	other threads:[~2013-02-07  4:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-06 19:55 andriy
2013-02-07  4:55 ` Sergei Epiphanov [this message]
2013-02-07  7:08   ` Sergey
2013-02-07  7:17     ` Sergei Epiphanov
2013-02-07  7:18     ` Sergei Epiphanov
2013-02-07  8:09       ` Sergey
2013-02-09 13:19   ` andriy

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=2929706.nRL08mDXZd@epiphanov.bkpi82.nikiet.ru \
    --to=serpiph@nikiet.ru \
    --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