玄箱に入れているDebianは、必要最小限のパッケージで入れているせいか、
たまーにこれは必要だろうってコマンドが入ってなくて困ったりする。
例に漏れず、名前解決する為のnslookupやdigも用意されていなかった・・・。
debian-box:~# nslookup
-su: nslookup: command not found
debian-box:~# dig
-su: dig: command not found
これらは、dnsutils をいれると一緒に入るので入れておく。
debian-box:~# aptitude install dnsutils
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following NEW packages will be automatically installed:
bind9-host libbind9-0 libdns22 libisc11 libisccc0 libisccfg1 liblwres9
:
:
The following NEW packages will be installed:
bind9-host dnsutils libbind9-0 libdns22 libisc11 libisccc0 libisccfg1
liblwres9
0 packages upgraded, 8 newly installed, 0 to remove and 61 not upgraded.
Need to get 1372kB of archives. After unpacking 3609kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
:
:
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
#なんかアップデートが必要なパッケージが山ほど出てきたけどそれは無視。
debian-box:~# dig -v
DiG 9.3.4
無事入りましたと。