LoginSignup
5
5

More than 5 years have passed since last update.

hostで名前解決できるのにpingが通らない場合

Last updated at Posted at 2015-09-25

たぶんUbuntuの場合だけ。

/etc/nsswtich.conf
hosts: files dns

dnsが入っているかを確認する。ubuntu-desktopとかをインストールすると、何か別の文字列がfilednsの間に入っていて、これを消すと直る。

バックアップ取らずに編集して、「何か別の文字列」などと言う始末。

5
5
1

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
5
5