On 2018-02-19 21:28, Steve Lloyd wrote:
> Is it possilbe to set a variable and then use it as follows? or is there a
> way to set and use a variable in the conf file for address entries?
>
> myip=10.0.1.6
> address=/2o7.net/$myip [1]
> address=/2mdm.net/$myip [2]
>
> instead of
> address=/2o7.net/10.0.1.6 [3]
> address=/2mdm.net/10.0.1.6 [4]
+1 for such a feature as this would easy my playground setup a lot, in
my case:
dhcp-host=aa:bb:cc:dd:ee:ff,${NETWORK4NET1PREFIX}.27,[${NETWORK6ULA1PREFIX}::1b],my-host
Links:
------
[1] http://2o7.net/$myip
[2] http://2mdm.net/$myip
[3] http://2o7.net/10.0.1.6
[4] http://2mdm.net/10.0.1.6
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss