[Dnsmasq-discuss] autogenerating dns records

Simon Kelley simon at thekelleys.org.uk
Thu Apr 25 09:53:21 BST 2013

On 24/04/13 23:09, Vishvananda Ishaya wrote:
> I just tested and it works perfectly for my use case. Others might
> prefer being able to use some kind of template to specify what the
> address looks like (they may want to prepend something to the numbers
> for example like aws does:
> internal-10-10-10-10.some.domain

Good point, Code for an optional prefix is in git now. I think a more 
complex template is OTT, since it would involve basically regexp 
matching to see if incoming queries match an arbitrary template.
> It also might be nice to be able to specify a range of ips in addtion
> to a cidr:
> --synth-domain=foobar,

That's there already, and documented:

     The address range can be of the form
     <ip address>,<ip address> or <ip address>/<netmask>



> Vish
> On Apr 24, 2013, at 12:47 PM, Simon Kelley<simon at thekelleys.org.uk>
> wrote:
>> On 08/04/13 18:07, Vishvananda Ishaya wrote:
>>> Thanks appreciate the feedback. I am going to do some testing to
>>> see how expensive it is to add a whole bunch to the hosts file
>>> for now. If that is too painful I will work on a patch.
>>> Vish
>> I've been working through my post-release TODO list. Please try
>> 2.67test3 which has a new --synth-domain option.
>> Suggestions as to a better name for the option gratefully
>> received.
>> Cheers,
>> Simon.

More information about the Dnsmasq-discuss mailing list