[Dnsmasq-discuss] [dnsmasq][dns query]dns query failed if the first server replis REFUSE

2017-04-24 Thread Mi Bear
Hello Everyone, I found an issue about DNS query. In my test scenario, there are two DNS servers, and the first one will always return REFUSE, and the second one can work properly. And the strict order option is on. In this case, I expect the a domain name can be resolved correctly by the second

Re: [Dnsmasq-discuss] [PATCH] Nack requests for unknown leases.

2017-04-24 Thread Simon Kelley
On 24/04/17 10:16, Alin Năstac wrote: > On Sun, Apr 23, 2017 at 5:46 PM, Simon Kelley wrote: >> On 20/04/17 10:34, Alin Nastac wrote: >>> Hosts that migrate from one network to another could request their >>> old IP address which might be already in use by another statically >>> configured host. C

Re: [Dnsmasq-discuss] [PATCH] Logging of dhcp_script output

2017-04-24 Thread Petr Mensik
Thank you for accepting that patches. I agree that some garbage is far more likely to appear in dhcp-script mode. I would myself welcome error log from wrong formatted lease file as well. If I understand it well, that file will be overwritten after the first lease created. If it contains wrong d

Re: [Dnsmasq-discuss] [PATCH] Nack requests for unknown leases.

2017-04-24 Thread wkitty42
On 04/24/2017 05:16 AM, Alin Năstac wrote: On Sun, Apr 23, 2017 at 5:46 PM, Simon Kelley wrote: When the client sends the discovery packet, dnsmasq will notice that the requested address is in use by another client, and offer a different address instead. You did not understood the scenario. T

Re: [Dnsmasq-discuss] [PATCH] Nack requests for unknown leases.

2017-04-24 Thread Alin Năstac
On Sun, Apr 23, 2017 at 5:46 PM, Simon Kelley wrote: > On 20/04/17 10:34, Alin Nastac wrote: >> Hosts that migrate from one network to another could request their >> old IP address which might be already in use by another statically >> configured host. Currently non-authoritative dnsmasq servers w