[Dnsmasq-discuss] 2.79rc2

2018-03-10 Thread Simon Kelley
The 2.79 release process stalled a bit, but I think I've got on top of
things now, hence a second RC is now tagged.


Cheers,

Simon.

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


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 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 192.168.202.0/24, then yes
>> dyn-1 will be 192.168.202.0, but if you use start,end to specify the
>> range, then the start address becomes dyn-1, so for
>>
>>  --synth-domain=gently.org.uk,192.168.202.50,192.168.202.70,dyn-*
>>
>> 192.168.202.50 is dyn-1
> 
> Ah, apologies, I hadn't realised that. In that case then, this sounds
> perfect to meet my needs.
> 
>> (or maybe dyn-0. Do we want this one-based or zero-based? Having a
>> choice is NOT an option)
> 
> I think I'd want dyn-1 personally, but don't feel particularly strongly
> about it either way to be honest.
> 
> Thanks.
> 
> Andy
> 
> 
> ___
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss@lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] make synth-domain a authoritative response

2018-03-10 Thread Markus Hartung
I have dug a little more and I can't think of this behaviour to be 
nothing else than a bug.


I have made a simple config now to reproduce the bug:

Start server with this command:

dnsmasq -p 1153 --synth-domain=hartmark.se,2001:db8::/64,dynamic- 
--auth-server=ns1.hartmark.se,192.168.1.1 
--auth-zone=hartmark.se,192.168.1.1,2001:db8::/64 
--auth-soa=,hostmaster.hartmark.se,1200,180,1209600 --ho

st-record=foo.hartmark.se,2001:db8::f00 -d --bind-dynamic

Replace 192.168.1.1 with your local ip.

Run these dig:s

1. dig -p 1153 -x 2001:db8::f00

2. dig -p 1153 -x 2001:db8::f00 @192.168.1.1

3. dig -p 1153 -x 2001:db8::d00

4. dig -p 1153 -x 2001:db8::d00 @192.168.1.1


dig 1 and 2 both return foo.hartmark.se as response. 1 is using 
localhost (127.0.0.1 or ::1) and that is not part of neither auth-server 
and auth-zone


dig 3 returns dynamic-2001-db8--d00.hartmark.se

dig 4 returns NXDOMAIN


Have I misunderstood something?? From my understanding it seems dnsmasq 
doesn't check synth-domain when responding on requests where dnsmasq is 
authoritative.




Kind regards,

Markus


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss