LoginSignup
4
3

More than 5 years have passed since last update.

CentOS7へmDNS導入の3分クッキング

Last updated at Posted at 2015-02-23

手順

  1. nss-mdnsを導入
  2. お好みのhostnameがあればそれに変更する
  3. ファイアーウォールを調整する
  4. 再起動する(面倒な手動再ロードをスキップするため)

解説

  1. nss-mdnsを導入
    sudo yum install epel-release
    sudo yum install nss-mdns
  2. お好みのhostnameがあればそれに変更する。例としてjenkins.localに変更sudo vi /etc/hostname
  3. ファイアーウォールを調整する。ここでは例として設定が面倒なので停止sudo systemctl stop firewalld.service
  4. 再起動するsudo reboot

やったね

これでping jenkins.localでpongしてくれます

4
3
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
4
3