Skip to Content

Tag: dns

  • 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.