view "out" {
match-clients { any; };
recursion no;
zone "yamasita.jp" {
type master;
file "yamasita.jp-out-zone";
};
};
192.168.1.0/24;
という行を一時的に消して、named に設定ファイルの reload をさせ、
nslookup で確認する。
linkstationvine# /etc/rc.d/init.d/named reload namedを再読み込み中: [ OK ] linkstationvine# nslookup Note: nslookup is deprecated and may be removed from future releases. Consider using the `dig' or `host' programs instead. Run nslookup with the `-sil[ent]' option to prevent this message from appearing. > www.yamasita.jp Server: 192.168.1.8 Address: 192.168.1.8#53 www.yamasita.jp canonical name = ns.yamasita.jp. Name: ns.yamasita.jp Address: 61.115.121.55 >OK。
192.168.1.0/24;
行を元に戻して、named に設定ファイルの reload をさせ、おしまい。
これで、外向きサーバとして一通りの設定完了。