Re: [Dnsmasq-discuss] Using a variable in the address option in dnsmasq.conf

2018-03-02 Thread Petr Menšík
You can use any script to generate those addresses into separate file. Dnsmasq is very low overhead server without real built-in scripting for these things. It already contains lua interpreter, but I think such features should be left to external scripts instead. You can already use: conf-dir=/etc

Re: [Dnsmasq-discuss] Using a variable in the address option in dnsmasq.conf

2018-03-02 Thread wkitty42
On 03/02/2018 07:46 AM, Petr Menšík wrote: and then generate your file any way you need. For example in bash echo "# Autogenerated file, do not edit by hand" > /etc/dnsmasq.d/blocked.conf for DOMAIN in 2o7.net 2mdm.net do echo "address=/$DOMAIN/$MYIP" >> /etc/dnsmasq.d/blocked.conf done ev

[Dnsmasq-discuss] dnsmasq failover

2018-03-02 Thread Donald Muller
At the risk of offending Geert I have a question on failover. I found a thread from 6 years ago discussing dnsmasq failover. There were a number of suggestions made that required enhancements to dnsmasq none of which seem to have been implemented. Is this a dead idea or something that is still o

Re: [Dnsmasq-discuss] Long nslookup times

2018-03-02 Thread Donald Muller
Geert, Apologies if offended you in some way by emailing this list about some strange behavior I noticed when testing my dnsmasq setup. I admit that my Linux skills aren't strong but I am not looking for a consultant. What I was looking for was some assistance in determining whether the issue w

Re: [Dnsmasq-discuss] dnsmasq failover

2018-03-02 Thread Kurt H Maier
On Fri, Mar 02, 2018 at 05:36:35PM +, Donald Muller wrote: > At the risk of offending Geert I have a question on failover. I found a > thread from 6 years ago discussing dnsmasq failover. There were a number of > suggestions made that required enhancements to dnsmasq none of which seem to >

Re: [Dnsmasq-discuss] Using a variable in the address option in dnsmasq.conf

2018-03-02 Thread Steve Lloyd
If I update an external conf file will dnsmasq read in the changes in real time or do I have to restart it? On Fri, Mar 2, 2018 at 10:39 AM wrote: > On 03/02/2018 07:46 AM, Petr Menšík wrote: > > and then generate your file any way you need. For example in bash > > > > echo "# Autogenerated file

Re: [Dnsmasq-discuss] dnsmasq failover

2018-03-02 Thread Donald Muller
Thanks Kurt. I don't use tftp so that is not a concern. I was hoping for something a little easier like the two dnsmasq instances talking to each other and passing information. Oh well, c'est la vie. So this is not on the roadmap? Thanks Don > -Original Message- > From: Kurt H Maier [ma