resolv.conf
/etc/resolv.conf
自マシンが利用する DNS サーバを指定する
table:resolv.conf
nameserver 192.168.0.1 必須
DNS サーバの IP アドレス
3 つ指定可能
domain example.com. www にアクセスしようとすると、www.example.com で名前解決する
search domain を複数指定できるようにしたもの
search test.example.com. example.com.
www にアクセスしようとするとまず、www.test.example.com で名前解決を行い、解決できなければ,www.example.com で
timeout:1 DNS 問い合わせの応答待ち時間が 1 秒だった場合にタイムアウトとなり次の問い合わせに移る
attempts:1 DNS 問い合わせが 1 回 NG だったら次の DNS サーバに問い合わせる