[Dnsmasq-discuss] Issues with CentOS 7 dnsmasq, stops resolving queries.
Hey, I have couple CentOS 7 hypervisors and VM's. On the hypervisors I do not have any issue with dnsmasq as DHCP server but I have not tried using it as a DNS. On once machine I have the latest CentOS 7 dnsmasq version (2.7x) and for some reason while it run's queries against a local unbound server, it seems that it returns empty responses. When I am querying the same unbound service from the same machine using tools like dig or host they answer fine. When I am querying the local dnsmasq it returns an empty response. How should I verify what might cause this issue? Thanks, Eliezer Linux System Administrator Mobile: +972-5-28704261 Email: mailto:elie...@ngtech.co.il ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] Fwd: [PATCH] fix entries in /etc/hosts disabling static leases
Works for me also, thank you. -Original Message- From: Dnsmasq-discuss [mailto:dnsmasq-discuss-boun...@lists.thekelleys.org.uk] On Behalf Of Geert Stappers Sent: Wednesday, January 16, 2019 9:14 AM To: dnsmasq-discuss@lists.thekelleys.org.uk Subject: Re: [Dnsmasq-discuss] Fwd: [PATCH] fix entries in /etc/hosts disabling static leases On Tue, Jan 15, 2019 at 02:45:19PM -0800, Steven Siloti wrote: > On Tue, Jan 15, 2019 at 12:44 PM Kaas Baichtal wrote: > > > 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. > > Sorry about that, the attached patch should fix it. The fix works for me. Thanks ___ 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] [PATCH] DHCPv6: Honor assigning IPv6 address based on MAC address
On Sunday 13 January 2019 09:11:27 Roy Marples wrote: > On 11/01/2019 16:52, Pali Rohár wrote: > > Hello, can somebody look at this patch? > > > > I remember that more people asked for ability to assign IPv6 address > > based on MAC address specified in config file, rather then IAID/DUID. > > ... > > > > Also this patch adds support for allowing IPv6 address to be associated > > > with multiple hardware addresses, and gives dnsmasq permission to abandon > > > a > > > lease. This is similar functionality as already supported for IPv4 > > > address. > > Can we get this by itself first? Hehe, no :-) Support for above feature is just side effect of assigning IPv6 address for MAC address if MAC address was specified in config file. Basically after this patch, assigning based on MAC address started working and therefore code which already handles assigning IP(v4) address for MAC address handles it for IPv6 too. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: PGP signature ___ 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
> On 12 Jan 2019, at 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. FYI: I’ve just backported this patch (and the missing brackets silly) to Openwrt master where it has apparently already solved one of our other developer’s dhcp lease mystery. Good catch! How on earth did you spot it?! :-) Will wait a couple of days in case of unexpected fallout before updating openwrt-18.06. Cheers, Kevin D-B 012C ACB2 28C6 C53E 9775 9123 B3A2 389B 9DE2 334A ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] Fwd: [PATCH] fix entries in /etc/hosts disabling static leases
On Tue, Jan 15, 2019 at 02:45:19PM -0800, Steven Siloti wrote: > On Tue, Jan 15, 2019 at 12:44 PM Kaas Baichtal wrote: > > > 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. > > Sorry about that, the attached patch should fix it. The fix works for me. Thanks ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] [PATCH] DHCPv6: Honor assigning IPv6 address based on MAC address
On Sun, Jan 13, 2019 at 09:11:27AM +, Roy Marples wrote: > On 11/01/2019 16:52, Pali Rohár wrote: > > Hello, can somebody look at this patch? > > > > I remember that more people asked for ability to assign IPv6 address > > based on MAC address specified in config file, rather then IAID/DUID. > > ... > > > > Also this patch adds support for allowing IPv6 address to be associated > > > with multiple hardware addresses, and gives dnsmasq permission to abandon > > > a > > > lease. This is similar functionality as already supported for IPv4 > > > address. > > Can we get this by itself first? We should have this ability with DUID at > least to match ISC dhcpd behaviour - and to be pinickity, IAID + type as > well (IAID of 1 for example is different for IA_NA and IA_PD). > > Then we can look at MAC address assignment as a smaller and later patch. > Spilting a problem in smaller ones is a good thing. Sending in small patches also. Cheers Geert Stappers -- Rejecting patches is much better for a project than ignoring patches. ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
[Dnsmasq-discuss] Is it possible to add an external IP as an A entry?
Hello everyone I wanted to add an external IP as an A record for my domain: host-record=salt,salt.swtk.info,53.220.139.123 This entry is not visible, though, when restarting dnsmasq (dig salt.swtk.info does not bring anything) Is there something special to do in order to add this A entry? ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss