[Dnsmasq-discuss] Add address file option

Christopher Schlacta aarcane at gmail.com
Thu Mar 4 08:13:15 GMT 2010


the file you're asking for is located at /etc/hosts .  feel free to modify it as needed.  the format is:
ipaddr hostname [hostname ...]
one entry per line.
On Mar 3, 2010, at 12:14 , Don Muller wrote:

> Hi Simon,
>  
> I have another suggestion that I hope you don’t talk me out of J.
>  
> In the config file or command line you can specify an IP address to return for any host in the given domains via
>  
> address=/<domain>/[domain/]<ipaddr>
>  
> While this is nice, every time you add an entry you have to restart dnsmasq. At least I think you do. I’d like to ask for the ability to specify a file to read that contains these entries which will be reread upon receipt of the SIGHUP signal.
>  
> Thanks
> Don
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20100304/1f4fc581/attachment-0001.htm 


More information about the Dnsmasq-discuss mailing list