Re: [Dnsmasq-discuss] --synth-domain enhancement

2018-03-10 Thread Simon Kelley
Finally got around to doing this. http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=6b2b564ac34cb3c862f168e6b1457f9f0b9ca69c Cheers, Simon. On 19/02/18 09:16, Andy Hawkins wrote: > Hi, > > In article <11034711-6140-1e7c-5eeb-ad951fee2...@thekelleys.org.uk>, >Simon Kelley

Re: [Dnsmasq-discuss] --synth-domain enhancement

2018-02-19 Thread Geert Stappers
On Mon, Feb 19, 2018 at 10:41:01AM +0100, Dominik DL6ER wrote: > On 16.02.2018 16:01, Simon Kelley wrote: > > To clarify, the serial numbers in > > the names correspond to the addresses in the range supplied. If you use > > a subnet to specify the range, for instance 192.168.202.0/24, then yes > >

Re: [Dnsmasq-discuss] --synth-domain enhancement

2018-02-19 Thread Dominik DL6ER
On 16.02.2018 16:01, Simon Kelley wrote: > To clarify, the serial numbers in > the names correspond to the addresses in the range supplied. If you use > a subnet to specify the range, for instance 192.168.202.0/24, then yes > dyn-1 will be 192.168.202.0, but if you use start,end to specify the > ra

Re: [Dnsmasq-discuss] --synth-domain enhancement

2018-02-19 Thread Andy Hawkins
Hi, In article <11034711-6140-1e7c-5eeb-ad951fee2...@thekelleys.org.uk>, Simon Kelley wrote: > My second example gives exactly that. To clarify, the serial numbers in > the names correspond to the addresses in the range supplied. If you use > a subnet to specify the range, for instance

Re: [Dnsmasq-discuss] --synth-domain enhancement

2018-02-16 Thread Simon Kelley
On 15/02/18 17:12, Andy Hawkins wrote: > Hi, > > In article <774c6255-31dd-a6f3-d208-11aa41b9c...@thekelleys.org.uk>, >Simon Kelley 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 somethin

Re: [Dnsmasq-discuss] --synth-domain enhancement

2018-02-15 Thread Andy Hawkins
Hi, In article <774c6255-31dd-a6f3-d208-11aa41b9c...@thekelleys.org.uk>, Simon Kelley 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 > > --synth-domain=thekelleys.org.uk,192.16

Re: [Dnsmasq-discuss] --synth-domain enhancement

2018-02-14 Thread Simon Kelley
On 23/01/18 09:25, Andy Hawkins wrote: > Hi, > > I'm contemplating a move from bind and isc-dhcpd to dnamasq. > > One of the features of bind that I take advantage of in my domain is > generating sequences of DNS entries using a single line. For example, in my > zone file I have: > > $GENERATE

[Dnsmasq-discuss] --synth-domain enhancement

2018-01-23 Thread Andy Hawkins
Hi, I'm contemplating a move from bind and isc-dhcpd to dnamasq. One of the features of bind that I take advantage of in my domain is generating sequences of DNS entries using a single line. For example, in my zone file I have: $GENERATE 50-70 dyn-${-50} IN A 192.168.202.$ This