[Dnsmasq-discuss] Supporting more than one domain.
Olaf Westrik
weizen_42 at ipcop-forum.de
Mon Jul 28 15:34:02 BST 2008
Simon Kelley wrote:
> Elaborate the "domain=" config option so that, as well as
>
> domain=example.org
>
> the following are also valid
>
> domain=example.org,192.168.100.128,192.168.100.180
> domain=subnet.example.org,192.168.100.0/24
> domain=anothernet.example.org,2001:db8:100:f101:210:a4ff:fee3:9566/64
Would it not be better / easier to make that:
domain=[net:<network-id,]<domain>
If you are handing out differing domains, you are likely to hand out
other options as well. All requiring network-id.
Along a similar line you could also do
bootp-dynamic[=<network-id[,<network-id>]]
(probably the last dhcp option that is not net related ;-))
Olaf
--
A weizen a day helps keep the doctor away.
More information about the Dnsmasq-discuss
mailing list