Re: [Dnsmasq-discuss] dnsmasq: dhcp-server with disabled dns-server: /etc/hosts ignored

2023-01-23 Thread Matus UHLAR - fantomas
Hello, in an addition to an older thread: On 21/10/2022 22:23, Michael Traxler wrote: When you disable the DNS-server via port=0 the /etc/hosts file is ignored and also the addn-hosts= is ignored. If one wants to disable reading /etc/hosts when DNS is disabled, using option "-h" is easy

Re: [Dnsmasq-discuss] dnsmasq: dhcp-server with disabled dns-server: /etc/hosts ignored

2022-11-02 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
On 21/10/2022 22:23, Michael Traxler wrote: When you disable the DNS-server via port=0 the /etc/hosts file is ignored and also the addn-hosts= is ignored. On 31.10.22 21:07, Simon Kelley wrote: It's at least a documentation bug. I think the reasoning behind the behaviour is that setting

Re: [Dnsmasq-discuss] dnsmasq: dhcp-server with disabled dns-server: /etc/hosts ignored

2022-11-01 Thread Geert Stappers via Dnsmasq-discuss
On Mon, Oct 31, 2022 at 09:07:40PM +, Simon Kelley wrote: > On 21/10/2022 22:23, Michael Traxler wrote: > > Hello, > > > > dnsmasq-2.87: > > > > It took me quite some time to figure this out :-) > > > > When you disable the DNS-server via > > port=0 > > > > the /etc/hosts file is ignored

Re: [Dnsmasq-discuss] dnsmasq: dhcp-server with disabled dns-server: /etc/hosts ignored

2022-10-31 Thread Simon Kelley
On 21/10/2022 22:23, Michael Traxler wrote: Hello, dnsmasq-2.87: It took me quite some time to figure this out :-) When you disable the DNS-server via port=0 the /etc/hosts file is ignored and also the addn-hosts= is ignored. This then results in the problem, that the DHCP-server still

Re: [Dnsmasq-discuss] dnsmasq: dhcp-server with disabled dns-server: /etc/hosts ignored

2022-10-31 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
Hello, On Fri, Oct 21, 2022 at 11:23:28PM +0200, Michael Traxler wrote: dnsmasq-2.87: When you disable the DNS-server via port=0 the /etc/hosts file is ignored and also the addn-hosts= is ignored. I was able to reproduce this behaviour. with "port 0" the /etc/hosts seems not to be

Re: [Dnsmasq-discuss] dnsmasq: dhcp-server with disabled dns-server: /etc/hosts ignored

2022-10-23 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
On Fri, Oct 21, 2022 at 11:23:28PM +0200, Michael Traxler wrote: dnsmasq-2.87: When you disable the DNS-server via port=0 the /etc/hosts file is ignored and also the addn-hosts= is ignored. I've had the same feeling some time ago, with no resolution:

Re: [Dnsmasq-discuss] dnsmasq: dhcp-server with disabled dns-server: /etc/hosts ignored

2022-10-22 Thread Michael Traxler
, 22 Oct 2022, Geert Stappers via Dnsmasq-discuss wrote: Date: Sat, 22 Oct 2022 21:15:46 From: Geert Stappers via Dnsmasq-discuss Reply-To: Geert Stappers To: dnsmasq-discuss@lists.thekelleys.org.uk Subject: Re: [Dnsmasq-discuss] dnsmasq: dhcp-server with disabled dns-server: /etc/hosts

Re: [Dnsmasq-discuss] dnsmasq: dhcp-server with disabled dns-server: /etc/hosts ignored

2022-10-22 Thread Geert Stappers via Dnsmasq-discuss
On Fri, Oct 21, 2022 at 11:23:28PM +0200, Michael Traxler wrote: > Hello, > > dnsmasq-2.87: > > It took me quite some time to figure this out :-) > > When you disable the DNS-server via > port=0 > > the /etc/hosts file is ignored and also the > addn-hosts= > is ignored. > > This then results

[Dnsmasq-discuss] dnsmasq: dhcp-server with disabled dns-server: /etc/hosts ignored

2022-10-21 Thread Michael Traxler
Hello, dnsmasq-2.87: It took me quite some time to figure this out :-) When you disable the DNS-server via port=0 the /etc/hosts file is ignored and also the addn-hosts= is ignored. This then results in the problem, that the DHCP-server still works, but if you use the