On Mon, Apr 11, 2022 at 01:28:39PM +0200, Kovács József via Dnsmasq-discuss wrote: > Hello All, > > I downgraded the dnsmasq from 2.86 to 2.80 and whitelist is working. > > What could be the difference, if the configuration files are same? > > These are is my configuration files: > > kovacsj@laptop:~# cat /tmp/cmr/ap_dnsmasq_v1p1.5.conf > no-hosts > except-interface=lo > bind-interfaces > pid-file=/var/run/dnsmasq_v1p1.5.pid > dhcp-leasefile=/var/run/dnsmasq_v1p1.5.leases > log-facility=/var/log/lwuci/dnsmasq_v1p1.5.log > interface=v1p1.5 > dhcp-range=192.168.5.11,192.168.5.91,255.255.255.0 > servers-file=/tmp/cmr/filtering.conf > > kovacsj@laptop:~# cat /tmp/cmr/filtering.conf > server=/robotszoft.hu/# > server=/#/ > kovacsj@laptop:~# > > The robotszoft.hu website is reachable, but the any others are not. > > This is the desired result, but in the 2.86 version, it is not working. > > Could somebody help me? I tried to understand the "problem" and tried to understand the "solution", but failed.
It is the > server=/#/ that I don't understand. Manual page says this about # The special server address '#' means, "use the standard servers", so --server=/google.com/1.2.3.4 --server=/www.google.com/# will send queries for google.com and its subdomains to 1.2.3.4, except www.google.com (and its subdomains) which will be forwarded as usual. > Thank you very much, in advance! Please elaborate > server=/#/ Groeten Geert Stappers -- Silence is hard to parse _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss