On 23/10/12 10:15, Michael Strelnikov wrote:
Hi all,

    Can I define a variable in the top of dnsmasq.conf and use
it throughout config?

Not directly. You can make dnsmasq read it's configuration from stdin, which makes it theoretically possible to use something like m4 to pre-process the config.

m4 /etc/dnsmasq.conf | dnsmasq --conf-file=-

Cheers,

Simon.

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to