LoginSignup
13
12

More than 5 years have passed since last update.

hostsファイルのキャッシュをクリアする

Posted at

サーバの接続先を/etc/hostsで管理していると、IP変更時に書き換えても変わらないことがある。
そんなときにキャッシュをクリアする方法。

# /usr/sbin/nscd -i hosts
-iオプション
  -i, --invalidate=テーブル   指定キャッシュは無効です
13
12
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
13
12