はじめての自宅サーバ構築 - Fedora/CentOS -
Last Update 2018/05/30
[ 更新履歴 ] [ サイト マップ ] [ 質問掲示板 ] [ 雑談掲示板 ] [ リンク ]
トップ >> ちょっと便利なTIPS集 >> DNSサーバ(Bind) >> bind-chrootをインストールしたのに機能していない場合は?

■ TIPS集『DNSサーバ(Bind)』

 bind-chrootをインストールしたのに機能していない場合は?

窶サシ喘ind-chroot
  『chrootを適用した状態のbind関連情報 』
    参照:http://kajuhome.com/bind.shtml#n11-03

bind-chrootが読み込むディレクトリが定義されているか確認する。
# vi /etc/sysconfig/named
# BIND named process options
# ~~~~~~~~~~~~~~~~~~~~~~~~~~
# Currently, you can use the following options:
#
# ROOTDIR="/some/where" -- will run named in a chroot environment.
#              you must set up the chroot environment
#              (install the bind-chroot package) before
#              doing this.
#
# OPTIONS="whatever"   -- These additional options will be passed to named
#              at startup. Don't add -t here, use ROOTDIR instead.
#
# ENABLE_ZONE_WRITE=yes -- If SELinux is disabled, then allow named to write
#              its zone files and create files in its $ROOTDIR/var/named
#              directory, necessary for DDNS and slave zone transfers.
#              Slave zones should reside in the $ROOTDIR/var/named/slaves
#              directory, in which case you would not need to enable zone
#              writes. If SELinux is enabled, you must use only the
#              'named_write_master_zones' variable to enable zone writes.
#
# ENABLE_SDB=yes     -- This enables use of 'named_sdb', which has support
#            -- for the ldap, pgsql and dir zone database backends
#            -- compiled in, to be used instead of named.
ROOTDIR=/var/named/chroot

■ コンテンツ関連情報

ページ先頭へ


Copyright(©)2004-2018 First home server construction. All Right Reserved.