Skip to Content

Tag: mac

  • Posted on

    Restart dnsmasq without sudo

    In one of my previous posts we discussed setting up dnsmasq to manage local domain names for development or testing purposes on your macOS machine. This makes it easier to manage these domains but you still need to restart the service with sudo after making changes.

  • Posted on

    Use dnsmasq instead of /etc/hosts

    On my development machine I’ve always used the good old /etc/hosts file to point test domains like newsite.test to a local IP. This approach works fine but it’s a bit cumbersome to manage.

  • Posted on

    Trust self-signed certificates on a Mac

    We rely on self-signed certificates in our development environment to test our applications via SSL. As a result, the browser will show you a warning saying the connection is not private each time. This becomes frustrating real quick!