In article <774c6255-31dd-a6f3-d208-11aa41b9c...@thekelleys.org.uk>,
Simon Kelley<si...@thekelleys.org.uk> wrote:
> It could be done: just requires even more scary string-mangling in
> src/domain.c and inventing a way to configure it.
> I prosose something like
> where the final * in the prefix generates "counting mode" so that
> 192.168.0.0 becomes internal-0,thekelleys.org.uk
> A range rather than a subnet is already allowed, so your example becomes
> Anyone got a better idea?
That sounds good to me. The only thing missing is the 'arithmetic' bit on
the generated host name / IP address.
In your example above, I would want (for example)
192.168.202.50 - dyn-1
192.168.202.51 - dyn-2
This is possible in bind using the syntax I posted earlier, but isn't (yet)
It's hardly the end of the world if I have to manually enter each one
though, so I wouldn't push for this change too much if it turned out to be
particularly difficult or generate any strong objections.
Dnsmasq-discuss mailing list