和6年能登半島地震により亡くなられた方々のご冥福をお祈りするとともに、被害に遭われた皆さまに対し、心よりお見舞い申し上げます。一日も早く被災地の安全が確保され、復旧が進む事を心よりお祈り申し上げます。

BIND9 ヒントファイル更新めも

環境(KVM)

ホストOS:Debian GNU/Linux 10.7
ゲストOS:FreeBSD 12.2-RELEASE r366954 GENERIC amd64 
BIND 9.16.9 (Stable Release) 

DNSサーバ(BIND9)のルートゾーンのヒントファイルを最新版に更新した。

その時のメモを残しておく。

① /usr/local/etc/namedbディレクトリに最新版ファイ(named.root))をInterNICサイトからダウンロードする。

※念のため、現在の named.root ファイルのバックアップを保存しておく。

# wget https://www.internic.net/domain/named.root
--2021-09-07 21:11:32--  https://www.internic.net/domain/named.root
Resolving www.internic.net (www.internic.net)... 192.0.47.9, 2620:0:2830:200::9
Connecting to www.internic.net (www.internic.net)|192.0.47.9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3312 (3.2K) [text/plain]
Saving to: 'named.root'

named.root                      100%[=============================================================>]   3.23K  --.-KB/s    in 0s

2021-09-07 21:11:33 (46.3 MB/s) - 'named.root' saved [3312/3312]

② BIND再起動!

# /usr/local/etc/rc.d/named restart
Stopping named.
Starting named.

③ ログ(/var/log/messeage)確認

Sep  7 21:16:15 www named[531]: stopping command channel on 127.0.0.1#953
Sep  7 21:16:15 www named[531]: exiting
Sep  7 21:16:15 www named[58052]: starting BIND 9.16.10 (Stable Release) <id:fac8def>
Sep  7 21:16:15 www named[58052]: running on FreeBSD amd64 12.2-RELEASE FreeBSD 12.2-RELEASE r366954 GENERIC
Sep  7 21:16:15 www named[58052]: built with '--disable-linux-caps' '--localstatedir=/var' '--sysconfdir=/usr/local/etc/namedb' '--with-dlopen=yes' '--with-libxml2' '--with-openssl=/usr' '--with-readline=-L/usr/local/lib -ledit' '--with-dlz-filesystem=yes' '--enable-dnstap' '--disable-fixed-rrset' '--disable-geoip' '--without-maxminddb' '--without-gssapi' '--with-libidn2=/usr/local' '--with-json-c' '--disable-largefile' '--with-lmdb=/usr/local' '--disable-native-pkcs11' '--without-python' '--disable-querytrace' '--enable-tcp-fastopen' '--disable-symtable' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/share/info/' '--build=amd64-portbld-freebsd12.1' 'build_alias=amd64-portbld-freebsd12.1' 'CC=cc' 'CFLAGS=-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing ' 'LDFLAGS= -L/usr/local/lib -ljson-c -fstack-protector-strong ' 'LIBS=-L/usr/local/lib' 'CPPFLAGS=-DLIBICONV_PLUG -isystem /usr/local/include' 'CPP=cpp' 'PKG_CONFIG=pkgconf'
Sep  7 21:16:15 www named[58052]: running as: named -u bind -c /usr/local/etc/namedb/named.conf
Sep  7 21:16:15 www named[58052]: compiled by CLANG 4.2.1 Compatible FreeBSD Clang 8.0.1 (tags/RELEASE_801/final 366581)
Sep  7 21:16:15 www named[58052]: compiled with OpenSSL version: OpenSSL 1.1.1d-freebsd  10 Sep 2019
Sep  7 21:16:15 www named[58052]: linked to OpenSSL version: OpenSSL 1.1.1h-freebsd  22 Sep 2020
Sep  7 21:16:15 www named[58052]: compiled with libxml2 version: 2.9.10
Sep  7 21:16:15 www named[58052]: linked to libxml2 version: 20910
Sep  7 21:16:15 www named[58052]: compiled with json-c version: 0.15
Sep  7 21:16:15 www named[58052]: linked to json-c version: 0.15
Sep  7 21:16:15 www named[58052]: compiled with zlib version: 1.2.11
Sep  7 21:16:15 www named[58052]: linked to zlib version: 1.2.11
Sep  7 21:16:15 www named[58052]: ----------------------------------------------------
Sep  7 21:16:15 www named[58052]: BIND 9 is maintained by Internet Systems Consortium,
Sep  7 21:16:15 www named[58052]: Inc. (ISC), a non-profit 501(c)(3) public-benefit
Sep  7 21:16:15 www named[58052]: corporation.  Support and training for BIND 9 are
Sep  7 21:16:15 www named[58052]: available at https://www.isc.org/support
Sep  7 21:16:15 www named[58052]: ----------------------------------------------------
Sep  7 21:16:16 www named[58052]: command channel listening on 127.0.0.1#953
Sep  7 21:16:16 www named[58052]: all zones loaded
Sep  7 21:16:16 www named[58052]: running

エラー出てない。OK(^^)

コメント