Re: [Dnsmasq-discuss] DHCP server not assigning IP to RTMU86

2022-05-13 Thread Kamil via Dnsmasq-discuss
> On 11/05/2022 12:41, Kamil via Dnsmasq-discuss wrote: > > Hi! > > > > I've configured Dnsmasq with the following config: > > > > interface=eth0 > > bind-interfaces > > dhcp-option=3,192.168.6.1 > > dhcp-option=6,8.8.8.8 > > set long-lasting records. > > dhcp-range=192.168.

Re: [Dnsmasq-discuss] dnsmasq 2.86 seems to stop reading from one of its dns sockets after a period of time under load

2022-05-13 Thread wkitty42
On 5/13/22 3:48 PM, Simon Kelley wrote: So queries are being received, and answered, but the reply is being dropped by the kernel because the send queue is full of replies to dead hosts? If the hosts are dead, where are the queries coming from to generate these blocked replies? reading the OP

Re: [Dnsmasq-discuss] dnsmasq 2.86 seems to stop reading from one of its dns sockets after a period of time under load

2022-05-13 Thread Simon Kelley
On 10/05/2022 16:40, Tom Keddie via Dnsmasq-discuss wrote: Hi All, I think you're saying that it's not surprising that dnsmasq is not reading from the socket because the send queue is also full. As per this thread on netdev (https://lore.kernel.org/netdev/cabuuw65r3or9hehsmt_isvx1f-

Re: [Dnsmasq-discuss] dhcp leases file not consulted after restart?

2022-05-13 Thread Simon Kelley
Set the configuration --log-queries. That will allow you to see if the queries are getting to dnsmasq, and it will give you a full dump of the DNS cache (including DHCP derived names) if you send the dnsmasq process SIGUSR1. Both of these will help in diagnosing the problem. Cheers, Simon.

Re: [Dnsmasq-discuss] DHCP server not assigning IP to RTMU86

2022-05-13 Thread Simon Kelley
On 11/05/2022 12:41, Kamil via Dnsmasq-discuss wrote: Hi! I've configured Dnsmasq with the following config: interface=eth0 bind-interfaces dhcp-option=3,192.168.6.1 dhcp-option=6,8.8.8.8 set long-lasting records. dhcp-range=192.168.6.11,192.168.6.20,255.255.255.0,12h

Re: [Dnsmasq-discuss] Script dnsmasq's IP generation

2022-05-13 Thread Petr Menšík
I think you should be able to use dhcp-mac to assign tags, then use separate dhcp-range only for selected tags. If you are able to create patterns matching this way, no external script would be required. dhcp-mac=set:special,AA:BB:CC:*:*:* dhcp-range=tag:special,192.168.2.2,192.168.2.255 dhcp-ran