美文网首页
os x下安装dns服务器dnsmasq

os x下安装dns服务器dnsmasq

作者: 暂时还没有昵称2222 | 来源:发表于2016-05-09 11:28 被阅读25次

如下:

$ brew search dnsmasq
dnsmasq
xyz@sdf:~/weiwei/gitlab/teddy (release/0509)$ brew install dnsmasq
==> Downloading https://homebrew.bintray.com/bottles/dnsmasq-2.75.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring dnsmasq-2.75.el_capitan.bottle.tar.gz
==> Caveats
To configure dnsmasq, copy the example configuration to /usr/local/etc/dnsmasq.conf
and edit to taste.

  cp /usr/local/opt/dnsmasq/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf

To have launchd start dnsmasq now and restart at startup:
  sudo brew services start dnsmasq
==> Summary
🍺  /usr/local/Cellar/dnsmasq/2.75: 7 files, 492.3K

相关文章

网友评论

      本文标题:os x下安装dns服务器dnsmasq

      本文链接:https://www.haomeiwen.com/subject/fpherttx.html