[Dnsmasq-discuss] --addn-hosts and --hostsdir

2019-10-01 Thread Hongyi Zhao
Hi, The manpage said that: --- -H, --addn-hosts= Additional hosts file. Read the specified file as well as /etc/hosts. If --no-hosts is given, read only the specified file. This option may be repeated for more than one additional

[Dnsmasq-discuss] include multiple IP addresses for a single query, use --address

2019-10-01 Thread Hongyi Zhao
Hi, In the manpage, it said: --- -A, --address=/[/...]/[] ... To include multiple IP addresses for a single query, use --addn-hosts= instead. It told me that the following using is illegal: --address=/a.b/1.2.3.4 --address=/a.b/1.2.3.5 Am i right? If so,

Re: [Dnsmasq-discuss] [PATCH v2] Change dhcp_release to use default address when no IP subnet matches

2019-10-01 Thread Brian Haley
On 10/1/19 10:24 AM, Petr Mensik wrote: Hi Brian and Simon, I have one objection here. I think the tool should never end without sending the request or showing some error. There is still one case left, where it would do nothing and still exit without error. I admit it would be rare, as IPv4

Re: [Dnsmasq-discuss] (PATCH) catch up

2019-10-01 Thread Petr Mensik
Hello Simon, I would like to remind issue with TCP and recreated interfaces. Original thread [1], my GitHub branch [2]. Modified a bit since last time, not sure whether it is better to attach all those patches. Checkout of branch would be easier for me. I would like also non-recursive queries

Re: [Dnsmasq-discuss] [PATCH v2] Change dhcp_release to use default address when no IP subnet matches

2019-10-01 Thread Petr Mensik
Hi Brian and Simon, I have one objection here. I think the tool should never end without sending the request or showing some error. There is still one case left, where it would do nothing and still exit without error. I admit it would be rare, as IPv4 address has to be missing on given device.