[Dnsmasq-discuss] Two quick questions about running dnsmasq under Mac OS X

richardvoigt at gmail.com richardvoigt at gmail.com
Tue Jun 21 23:03:10 BST 2011


On Tue, Jun 21, 2011 at 2:04 PM, Mel Brands <bighype at gmail.com> wrote:
> Hi guys,
>
> I've successfully installed and configured dnsmasq on my Mac laptop
> and I have two quick questions.
>
> 1) How do you quickly tell dnsmasq to reload config files and reload
> /etc/hosts (or wherever you have your hosts file)? The only way I know
> is to kill the process and then load the daemon...

sending SIGHUP (kill -HUP) will reload /etc/hosts and some other
configuration settings.  Some settings require a process restart
though, because they can only be changed during startup before
dropping root privileges.


>
> 2) When I run any ruby script from the command line, I notice that
> DirectoryService process still gets called whenever my script resolves
> an IP from a name. Is there a way to bypass DirectoryService
> completely on a Mac?

No idea, sorry.

>
> Thanks!
>
> Melanie
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>



More information about the Dnsmasq-discuss mailing list