Mac OS - dnsmasq

Instalace

sudo brew services start dnsmasq

==> Caveats
To configure dnsmasq, take the default example configuration at
  /usr/local/etc/dnsmasq.conf and edit to taste.

To have launchd start dnsmasq now and restart at startup:
  sudo brew services start dnsmasq
==> Summary
🍺  /usr/local/Cellar/dnsmasq/2.80: 8 files, 532.6KB

Conf

Editace

[marek@Marek-MacBook-Pro ~]# vim /usr/local/etc/dnsmasq.conf

Test syntaxe

[marek@Marek-MacBook-Pro ~]# dnsmasq --test

Reload confu

[marek@Marek-MacBook-Pro ~]# sudo brew services restart dnsmasq

Zdroje

https://passingcuriosity.com/2013/dnsmasq-dev-osx/
https://gist.github.com/ogrrd/5831371
http://www.fullybaked.co.uk/articles/setting-up-a-local-dns-server-on-osx
https://wiki.archlinux.org/index.php/dnsmasq

Žádné komentáře:

Okomentovat

Server Side Rendering - Next

The Benefits of Server Side Rendering Over Client Side Rendering