[Dnsmasq-discuss] Fwd: [PATCH] fix entries in /etc/hosts disabling static leases

2019-01-15 Thread Steven Siloti
On Tue, Jan 15, 2019 at 12:44 PM Kaas Baichtal  wrote:

> Hi,
>
> I tried to install this patch manually to my 2.80 and got a segfault that
> prevented dnsmasq running. I also tried git cloning the master and
> installing that instead but got the same result. Any suggestions? I could
> really use this fix. Thank you.
>
> --Kaas
>
> Sorry about that, the attached patch should fix it.


0001-add-missing-braces.patch
Description: Binary data
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] [PATCH] fix entries in /etc/hosts disabling static leases

2019-01-15 Thread Kaas Baichtal
Hi,

I tried to install this patch manually to my 2.80 and got a segfault that
prevented dnsmasq running. I also tried git cloning the master and
installing that instead but got the same result. Any suggestions? I could
really use this fix. Thank you.

--Kaas



---
>
>Re: [Dnsmasq-discuss] [PATCH] fix entries in /etc/hosts disabling static
leases
>
>Simon Kelley Sun, 13 Jan 2019 15:32:43 -0800
>
>Patch applied.
>
>
>Cheers,
>
>Simon.
>
>
>
>On 12/01/2019 21:55, Steven Siloti wrote:
>> It is possible for a config entry to have one address family specified by
a
>> dhcp-host directive and the other added from /etc/hosts. This is
especially
>> common on OpenWrt because it uses odhcpd for DHCPv6 and IPv6 leases are
>> imported into dnsmasq via a hosts file.
>> 
>> To handle this case there need to be separate *_HOSTS flags for IPv4 and
IPv6.
>> Otherwise when the hosts file is reloaded it will clear the
CONFIG_ADDR(6) 
>> flag
>> which was set by the dhcp-host directive.
>> ---
>



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


[Dnsmasq-discuss] IXFR requests and how they are handled

2019-01-15 Thread Wojtek Swiatek
Hello

I was trying to use dnsmasq as a master with unbound as secondaries. After
some debugging (https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=4219),
I realized that IXFR is not handled by dnsmasq (AXFR is - and works fine).
It seems that the request just hangs and timeouts.

Would it be possible to appropriately respond to IXFR queries so that the
requesting server knows to fallback to AXFR?
I am trying at the same time to see whether the "timeout" case could not be
gracefully handled as well on unbound side (they only handle rejection)
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss