大:おかえりなさい。
奥:ただいま。
竹:あっ、じゃあ代わろうか?
奥:いえ、そのままお願いしまーす。

私は、
今までと違うところを、
チェックしておかないとなぁーと
思ってるので、横で見ておきます。
大:大分、変わってますか?
竹:うん。
named.confというのが、
なくなっているだけでも大きく違うよ。
奥:そうそう。
えっ?って思うよ。
/etcが、下記なんですよね。
[root@bind1 etc]# ls -la named*
lrwxrwxrwx 1 root named 52 1月 28 04:25 named.caching-nameserver.conf -> /var/named/chroot//etc/named.caching-nameserver.conf
lrwxrwxrwx 1 root named 42 1月 28 04:25 named.rfc1912.zones -> /var/named/chroot//etc/named.rfc1912.zones
竹:なんで、ゾーン
ファイルがあるの?
って、思うよね。
奥:そうそう。
設定の中身は、今までと同じだけど。
でも、ファイル名なんかが変わっていると
戸惑うからね、

実際。
竹:じゃあ、設定ファイルを開いてみようか。
[root@bind1 etc]# pwd
/etc
[root@bind1 etc]# vi named.caching-nameserver.conf
//
// named.caching-nameserver.conf
//
// Provided by Red Hat caching-nameserver package to configure the
// ISC BIND named(8) DNS server as a caching only nameserver
// (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
// DO NOT EDIT
THIS FILE - use system-config-bind or an editor
// to create named.conf - edits to this file
will be lost on
// caching-nameserver package upgrade.
//
options {
listen-on port 53 { 127.0.0.1; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
query-source port 53;
query-source-v6 port 53;
allow-query { localhost; };
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
view localhost_resolver {
match-clients { localhost; };
match-destinations { localhost; };
recursion yes;
include "/etc/named.rfc1912.zones";
};
竹:ということで、IPv6もあるんだよね。

(笑)
これ、後で使えなくして、いいよね?
奥:いいでしょ。
IPv6は、まだまだ、先でしょうし。
竹:じゃあ、listen-onから始めようかな・・・。
大:はい。
お願いします。
奥:To be continued...
ドラマ「派遣の品格」風に、終わってみました・・。
posted by アンドレアス at 00:26|
Comment(0)
|
TrackBack(0)
|
基本設定
|

|