Re: [Dnsmasq-discuss] "--all-servers" always on?

2019-12-09 Thread John Siu
There is no "default" option. It actually give error if I add it by itself or "all-servers=default". I went through the man page again and there is no other option affecting this behavior. I am starting to think this is a bug. On Tue, Dec 10, 2019 at 1:03 AM Siji Sunny wrote: > > It should be

Re: [Dnsmasq-discuss] "--all-servers" always on?

2019-12-09 Thread Siji Sunny
There is no "default" option. It actually give error if I add it by itself > or "all-servers=default". > It not "all-servers=default", just "default" > I went through the man page again and there is no other option affecting > this behavior. I am starting to think this is a bug. > > On Tue, Dec

Re: [Dnsmasq-discuss] "--all-servers" always on?

2019-12-09 Thread John Siu
I tried with "default" in its own line, that gives error too. On Tue, Dec 10, 2019 at 2:16 AM Siji Sunny wrote: > > There is no "default" option. It actually give error if I add it by itself >> or "all-servers=default". >> > It not "all-servers=default", just "default" > > >> I went through the

Re: [Dnsmasq-discuss] "--all-servers" always on?

2019-12-09 Thread John Siu
Base on my understanding of the manpage, "all-servers" means dnsmasq will send query to all servers at once and use the 1st response. I am seeing all my queries, if not already in cache, are sent to all servers configured. But I don't have "all-servers" set. I want to turn off this behavior. On

Re: [Dnsmasq-discuss] "--all-servers" always on?

2019-12-09 Thread Siji Sunny
> It should be off, base on manpage. And I don't know how to set a "off" to > it. > Adding "default" inside the config file, may help you. With reference to man page, default option will send queries to just one server. > On Tue, Dec 10, 2019 at 12:45 AM Siji Sunny < >

Re: [Dnsmasq-discuss] "--all-servers" always on?

2019-12-09 Thread Siji Sunny
Base on my understanding of the manpage, "all-servers" means dnsmasq will > send query to all servers at once and use the 1st response. > > I am seeing all my queries, if not already in cache, are sent to all > servers configured. But I don't have "all-servers" set. I want to turn off > this

Re: [Dnsmasq-discuss] "--all-servers" always on?

2019-12-09 Thread John Siu
It should be off, base on manpage. And I don't know how to set a "off" to it. On Tue, Dec 10, 2019 at 12:45 AM Siji Sunny wrote: > > Base on my understanding of the manpage, "all-servers" means dnsmasq will >> send query to all servers at once and use the 1st response. >> >> I am seeing all my

Re: [Dnsmasq-discuss] "--all-servers" always on?

2019-12-09 Thread Siji Sunny
> OS: Ubuntu 18.04 with all updates > dnsmasq version: 2.79-1 > > According to man page: > > --all-servers > By default, when dnsmasq has more than one upstream server available, > it will send queries to just one server. Setting this flag forces dnsmasq > to send all queries to all available

[Dnsmasq-discuss] error: not giving name to the DHCP lease because the name exists in /etc/hosts

2019-12-09 Thread isidore . leroux
Dear all I have been trying to resolve that issue for the past 2 days. I am using dnsmasq for dns and dhcp, and using the hosts file to statically assigned ip to known hosts. It doesn't work with the following error message: "not giving name myhost.example.com to the DHCP lease of

[Dnsmasq-discuss] How to update ipv6 for own interface? (Updated info)

2019-12-09 Thread John Siu
Ok, let me elaborate more. I have following setup: Linux router server: - OS: Ubuntu 18.04 - wide-dhcp-client on external(internet facing) nic - dnsmasq on lan interface(hostname: router) as dns, ipv4 + ipv6 dhcp - lan interface IPv6 configure by wide-dhcp-client, IPv4 static(172.16.168.1) via

[Dnsmasq-discuss] Out-of-bound heap write when parsing invalid --dhcp-mac option

2019-12-09 Thread Klaus Eisentraut
Hi, I found another crash in parsing code of a configuration file or command line options. To reproduce it, simply run dnsmasq --dhcp-mac=,A...A with "a lot of" A (>=89 with dnsmasq 2.80 on Linux 5.4.2-arch1-1). If you run dnsmasq without Address Sanitizer (ASAN), it won't crash

[Dnsmasq-discuss] How to update ipv6 for own interface?

2019-12-09 Thread John Siu
I am using dnsmasq dhcp for both ipv4 and ipv6 and it is able to auto generate the dns entries for both, at least for linux servers. Is there a way to make it do the same on selected interface(s) of the server dnsmasq is running? PS: I already have the server IPv4 entry in /etc/hosts

[Dnsmasq-discuss] "--all-servers" always on?

2019-12-09 Thread John Siu
OS: Ubuntu 18.04 with all updates dnsmasq version: 2.79-1 According to man page: --all-servers By default, when dnsmasq has more than one upstream server available, it will send queries to just one server. Setting this flag forces dnsmasq to send all queries to all available servers. The